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