From bdd4cbe9d861501995cae218c2d1c156eed25648 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 14 Jul 2023 01:48:35 +0100 Subject: [PATCH] rename type_ arg to mode --- lib/voicemeeter/button.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/voicemeeter/button.rb b/lib/voicemeeter/button.rb index 9250ace..5b96611 100644 --- a/lib/voicemeeter/button.rb +++ b/lib/voicemeeter/button.rb @@ -14,12 +14,12 @@ module Voicemeeter super end - def getter(mode) - @remote.get_buttonstatus(@index, mode) + def getter(type_) + remote.get_buttonstatus(@index, type_) end - def setter(set, mode) - @remote.set_buttonstatus(@index, set, mode) + def setter(type_, val) + remote.set_buttonstatus(@index, type_, val) end def state