mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
If action is NULL, that's a problem. If etekcity_button_action_to_raw() returns 0, we should not try to write 0x00 in the profile. The proper command for "none" is 0x06. 0x00 is thus an error. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>