From cccc348378b75a743ab6e606c1693d8be2a735d7 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 14 Jul 2023 17:08:11 +0100 Subject: [PATCH] fix getter,setter in Button class --- lib/voicemeeter/button.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/voicemeeter/button.rb b/lib/voicemeeter/button.rb index 4381757..4b289c4 100644 --- a/lib/voicemeeter/button.rb +++ b/lib/voicemeeter/button.rb @@ -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