Changeset db71e2a in mainline for uspace/app/mkbd/main.c
- Timestamp:
- 2013-07-24T17:42:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69b264a9
- Parents:
- 52f1882 (diff), cffa14e6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkbd/main.c
r52f1882 rdb71e2a 177 177 178 178 while (1) { 179 kbd_event_t ev;180 bool ok = console_get_ kbd_event(con, &ev);179 cons_event_t ev; 180 bool ok = console_get_event(con, &ev); 181 181 if (!ok) { 182 182 printf("Connection with console broken: %s.\n", … … 185 185 } 186 186 187 if (ev.key == KC_ESCAPE) { 187 if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS && 188 ev.ev.key.key == KC_ESCAPE) { 188 189 break; 189 190 }
Note:
See TracChangeset
for help on using the changeset viewer.