Changes in uspace/lib/c/include/io/console.h [111d2d6:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/console.h
r111d2d6 r9d58539 37 37 38 38 #include <sys/time.h> 39 #include <io/kbd_event.h>40 39 #include <io/keycode.h> 41 40 #include <async.h> … … 71 70 } console_ctrl_t; 72 71 72 typedef enum { 73 KEY_PRESS, 74 KEY_RELEASE 75 } kbd_event_type_t; 76 77 /** Console event structure. */ 78 typedef struct { 79 /** List handle */ 80 link_t link; 81 82 /** Press or release event. */ 83 kbd_event_type_t type; 84 85 /** Keycode of the key that was pressed or released. */ 86 keycode_t key; 87 88 /** Bitmask of modifiers held. */ 89 keymod_t mods; 90 91 /** The character that was generated or '\0' for none. */ 92 wchar_t c; 93 } kbd_event_t; 94 73 95 extern console_ctrl_t *console_init(FILE *, FILE *); 74 96 extern void console_done(console_ctrl_t *);
Note:
See TracChangeset
for help on using the changeset viewer.