test_input: fix compilation with changed input API
We dropped unused modifiers so we have to fix test_input not to print them out. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
639da5337b
commit
c77e3d8c0c
@ -76,16 +76,10 @@ static void print_modifiers(unsigned int mods)
|
||||
printf("LOCK ");
|
||||
if (mods & UTERM_CONTROL_MASK)
|
||||
printf("CONTROL ");
|
||||
if (mods & UTERM_MOD1_MASK)
|
||||
printf("MOD1 ");
|
||||
if (mods & UTERM_MOD2_MASK)
|
||||
printf("MOD2 ");
|
||||
if (mods & UTERM_MOD3_MASK)
|
||||
printf("MOD3 ");
|
||||
if (mods & UTERM_MOD4_MASK)
|
||||
printf("MOD4 ");
|
||||
if (mods & UTERM_MOD5_MASK)
|
||||
printf("MOD5 ");
|
||||
if (mods & UTERM_ALT_MASK)
|
||||
printf("ALT ");
|
||||
if (mods & UTERM_LOGO_MASK)
|
||||
printf("LOGO ");
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user