Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/console.h

    r7c014d1 r79ae36dd  
    3737
    3838#include <sys/time.h>
    39 #include <io/keycode.h>
    4039#include <async.h>
    4140#include <bool.h>
     
    4342
    4443typedef enum {
    45         CONSOLE_CAP_NONE = 0,
    46         CONSOLE_CAP_STYLE = 1,
    47         CONSOLE_CAP_INDEXED = 2,
    48         CONSOLE_CAP_RGB = 4
     44        CONSOLE_CCAP_NONE = 0,
     45        CONSOLE_CCAP_STYLE,
     46        CONSOLE_CCAP_INDEXED,
     47        CONSOLE_CCAP_RGB
    4948} console_caps_t;
    5049
     
    7776/** Console event structure. */
    7877typedef struct {
    79         /** List handle */
    80         link_t link;
    81        
    8278        /** Press or release event. */
    8379        kbd_event_type_t type;
    8480       
    8581        /** Keycode of the key that was pressed or released. */
    86         keycode_t key;
     82        unsigned int key;
    8783       
    8884        /** Bitmask of modifiers held. */
    89         keymod_t mods;
     85        unsigned int mods;
    9086       
    9187        /** The character that was generated or '\0' for none. */
Note: See TracChangeset for help on using the changeset viewer.