Changeset f89979b in mainline for uspace/srv/kbd/include/kbd.h


Ignore:
Timestamp:
2009-02-17T23:05:15Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
24ff4df
Parents:
96e0748d
Message:

Keyboard driver overhaul — organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/include/kbd.h

    r96e0748d rf89979b  
    4040#include <key_buffer.h>
    4141
    42 extern int kbd_arch_init(void);
    43 extern int kbd_arch_process(keybuffer_t *keybuffer, ipc_call_t *call);
    44 extern int mouse_arch_process(int phoneid, ipc_call_t *call);
     42#define KBD_EVENT       1024
     43#define KBD_MS_LEFT     1025
     44#define KBD_MS_RIGHT    1026
     45#define KBD_MS_MIDDLE   1027
     46#define KBD_MS_MOVE     1028
     47
     48extern void kbd_push_scancode(int);
     49extern void kbd_push_ev(int, unsigned int, unsigned int);
    4550
    4651#endif
Note: See TracChangeset for help on using the changeset viewer.