mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 11:40:06 +01:00
touchpad: coding style fixes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9d06f34763
commit
1bd7976b0b
1 changed files with 4 additions and 2 deletions
|
|
@ -47,7 +47,8 @@
|
|||
*/
|
||||
|
||||
static inline const char*
|
||||
button_state_to_str(enum button_state state) {
|
||||
button_state_to_str(enum button_state state)
|
||||
{
|
||||
switch(state) {
|
||||
CASE_RETURN_STRING(BUTTON_STATE_NONE);
|
||||
CASE_RETURN_STRING(BUTTON_STATE_AREA);
|
||||
|
|
@ -61,7 +62,8 @@ button_state_to_str(enum button_state state) {
|
|||
}
|
||||
|
||||
static inline const char*
|
||||
button_event_to_str(enum button_event event) {
|
||||
button_event_to_str(enum button_event event)
|
||||
{
|
||||
switch(event) {
|
||||
CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_R);
|
||||
CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_M);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue