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 73e729a..af6c741 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) { /* clear screen and display welcome message */ nwz_lcdmsg(true, 0, 0, "test_ts"); - nwz_lcdmsg(false, 0, 2, "PWR OFF: quit"); + nwz_lcdmsg(false, 0, 2, "BACK: quit"); /* open input device */ int key_fd = nwz_key_open(); if(key_fd < 0) @@ -61,7 +61,7 @@ int main(int argc, char **argv) struct input_event evt; if(nwz_key_read_event(key_fd, &evt) == 1) { - if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_OPTION && + if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_BACK && nwz_key_event_is_press(&evt)) break; /* quit */ } |