Changes in uspace/app/mkbd/main.c [07b7c48:5debe97] in mainline
- File:
-
- 1 edited
-
uspace/app/mkbd/main.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkbd/main.c
r07b7c48 r5debe97 44 44 #include <devman.h> 45 45 #include <loc.h> 46 #include <usb/dev/hub.h>47 46 #include <usb/hid/iface.h> 48 47 #include <usb/dev/pipes.h> … … 178 177 179 178 while (1) { 180 cons_event_t ev;181 bool ok = console_get_ event(con, &ev);179 kbd_event_t ev; 180 bool ok = console_get_kbd_event(con, &ev); 182 181 if (!ok) { 183 182 printf("Connection with console broken: %s.\n", … … 186 185 } 187 186 188 if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS && 189 ev.ev.key.key == KC_ESCAPE) { 187 if (ev.key == KC_ESCAPE) { 190 188 break; 191 189 } … … 224 222 devman_handle_t dev_handle = 0; 225 223 226 int rc = usb_resolve_device_handle(devpath, NULL, NULL,&dev_handle);224 int rc = usb_resolve_device_handle(devpath, &dev_handle); 227 225 if (rc != EOK) { 228 226 printf("Device not found or not of USB kind: %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.
