mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 23:00:48 +00:00
fix getter,setter in Button class
This commit is contained in:
parent
2f93fc14f9
commit
cccc348378
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user