Changeset 7455 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/XKeyboard.h
- Timestamp:
- Mar 14, 2008 10:33:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/XKeyboard.h
r5999 r7455 20 20 #define __XKeyboard_h__ 21 21 22 // our structure used to return keyboard event information23 typedef struct _WINEKEYBOARDINFO24 {25 unsigned short wVk;26 unsigned short wScan;27 unsigned long dwFlags;28 unsigned long time;29 } WINEKEYBOARDINFO;30 31 22 // initialize the X keyboard subsystem 32 23 bool initXKeyboard(Display *dpy); 33 24 // our custom keyboard handler 34 void handleXKeyEvent(Display *dpy, XEvent *event, WINEKEYBOARDINFO *wineKbdInfo);25 unsigned handleXKeyEvent(XEvent *event); 35 26 // returns the number of keysyms per keycode (only valid after initXKeyboard()) 36 27 int getKeysymsPerKeycode();
Note:
See TracChangeset
for help on using the changeset viewer.