Changeset db71e2a in mainline for uspace/app/mkbd/main.c


Ignore:
Timestamp:
2013-07-24T17:42:25Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
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.
Message:

merge mainline changes.

usb hc macro changes from mainline were reverted, too many conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkbd/main.c

    r52f1882 rdb71e2a  
    177177
    178178        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);
    181181                if (!ok) {
    182182                        printf("Connection with console broken: %s.\n",
     
    185185                }
    186186
    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) {
    188189                        break;
    189190                }
Note: See TracChangeset for help on using the changeset viewer.