forked from drath/libratbag
sinowealth: working button remapping
This commit is contained in:
committed by
Thomas H.P. Andersen
parent
fd99aa29a7
commit
f474776a4d
@@ -513,8 +513,8 @@ sinowealth_write_buttons(struct ratbag_profile *profile)
|
||||
}
|
||||
|
||||
button_data->type = SINOWEALTH_BUTTON_TYPE_KEY;
|
||||
button_data->data[0] = key;
|
||||
button_data->data[1] = modifiers;
|
||||
button_data->data[0] = modifiers;
|
||||
button_data->data[1] = ratbag_hidraw_get_keyboard_usage_from_keycode(device, key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user