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
|
class Button < IRemote
|
||||||
def getter(type_)
|
def getter(type_)
|
||||||
remote.get_buttonstatus(@index, type_)
|
@remote.get_buttonstatus(@index, type_)
|
||||||
end
|
end
|
||||||
|
|
||||||
def setter(type_, val)
|
def setter(type_, val)
|
||||||
remote.set_buttonstatus(@index, type_, val)
|
@remote.set_buttonstatus(@index, type_, val)
|
||||||
end
|
end
|
||||||
|
|
||||||
def state
|
def state
|
||||||
|
Loading…
Reference in New Issue
Block a user