1
0
forked from drath/libratbag

Change enum value of the unknown value type

Keeps the values as uints

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-07-25 13:43:31 +10:00
committed by Benjamin Tissoires
parent ab67517584
commit 67e1c8667b

View File

@@ -1234,10 +1234,6 @@ ratbag_button_get_type(struct ratbag_button *button);
* The type assigned to a button.
*/
enum ratbag_button_action_type {
/**
* Button action is unknown
*/
RATBAG_BUTTON_ACTION_TYPE_UNKNOWN = -1,
/**
* Button is disabled
*/
@@ -1259,6 +1255,10 @@ enum ratbag_button_action_type {
* Button sends a user-defined key or button sequence
*/
RATBAG_BUTTON_ACTION_TYPE_MACRO,
/**
* Button action is unknown
*/
RATBAG_BUTTON_ACTION_TYPE_UNKNOWN = 1000,
};
/**