1
0
forked from drath/libratbag

fix typo in macro bindings

This commit is contained in:
Kyoken
2022-11-16 00:16:07 +03:00
committed by Yaroslav Chvanov
parent 49b9ad5647
commit 39b6178d92

View File

@@ -378,7 +378,7 @@ def func_button_action_set_macro(r, args):
t = int(s[1:])
macro.append(RatbagdButton.Macro.WAIT, t)
else:
code = convert_str_to_evcode(key)
code = convert_str_to_evcode(s)
if is_press:
macro.append(RatbagdButton.Macro.KEY_PRESS, code)
if is_release: