rename type_ arg to mode

This commit is contained in:
onyx-and-iris 2023-07-14 01:48:35 +01:00
parent ea57227b46
commit bdd4cbe9d8

View File

@ -14,12 +14,12 @@ module Voicemeeter
super super
end end
def getter(mode) def getter(type_)
@remote.get_buttonstatus(@index, mode) remote.get_buttonstatus(@index, type_)
end end
def setter(set, mode) def setter(type_, val)
@remote.set_buttonstatus(@index, set, mode) remote.set_buttonstatus(@index, type_, val)
end end
def state def state