diff options
Diffstat (limited to 'utils/nwztools/plattools/test_ts.c')
-rw-r--r-- | utils/nwztools/plattools/test_ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/nwztools/plattools/test_ts.c b/utils/nwztools/plattools/test_ts.c index 73e729a093..af6c741e00 100644 --- a/utils/nwztools/plattools/test_ts.c +++ b/utils/nwztools/plattools/test_ts.c | |||
@@ -24,7 +24,7 @@ int main(int argc, char **argv) | |||
24 | { | 24 | { |
25 | /* clear screen and display welcome message */ | 25 | /* clear screen and display welcome message */ |
26 | nwz_lcdmsg(true, 0, 0, "test_ts"); | 26 | nwz_lcdmsg(true, 0, 0, "test_ts"); |
27 | nwz_lcdmsg(false, 0, 2, "PWR OFF: quit"); | 27 | nwz_lcdmsg(false, 0, 2, "BACK: quit"); |
28 | /* open input device */ | 28 | /* open input device */ |
29 | int key_fd = nwz_key_open(); | 29 | int key_fd = nwz_key_open(); |
30 | if(key_fd < 0) | 30 | if(key_fd < 0) |
@@ -61,7 +61,7 @@ int main(int argc, char **argv) | |||
61 | struct input_event evt; | 61 | struct input_event evt; |
62 | if(nwz_key_read_event(key_fd, &evt) == 1) | 62 | if(nwz_key_read_event(key_fd, &evt) == 1) |
63 | { | 63 | { |
64 | if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_OPTION && | 64 | if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_BACK && |
65 | nwz_key_event_is_press(&evt)) | 65 | nwz_key_event_is_press(&evt)) |
66 | break; /* quit */ | 66 | break; /* quit */ |
67 | } | 67 | } |