mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-17 08:33:31 +00:00
fix getter,setter in Button class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user