diff --git a/lib/voicemeeter/button.rb b/lib/voicemeeter/button.rb index 4381757..4b289c4 100644 --- a/lib/voicemeeter/button.rb +++ b/lib/voicemeeter/button.rb @@ -11,11 +11,11 @@ module Voicemeeter class Button < IRemote def getter(type_) - remote.get_buttonstatus(@index, type_) + @remote.get_buttonstatus(@index, type_) end def setter(type_, val) - remote.set_buttonstatus(@index, type_, val) + @remote.set_buttonstatus(@index, type_, val) end def state