Changeset 1069
- Timestamp:
- May 20, 2008 11:22:31 PM (5 years ago)
- Location:
- trunk/xdotool
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xdotool/xdo.c
r1068 r1069 26 26 static int _xdo_has_xtest(xdo_t *xdo); 27 27 28 static int_xdo_keycode_from_char(xdo_t *xdo, char key);28 static KeyCode _xdo_keycode_from_char(xdo_t *xdo, char key); 29 29 static int _xdo_get_shiftcode_if_needed(xdo_t *xdo, char key); 30 30 … … 269 269 int i = 0; 270 270 char key = '0'; 271 uintkeycode = 0;271 KeyCode keycode = 0; 272 272 uint shiftcode = 0; 273 273 … … 337 337 338 338 /* Helper functions */ 339 static int_xdo_keycode_from_char(xdo_t *xdo, char key) {339 static KeyCode _xdo_keycode_from_char(xdo_t *xdo, char key) { 340 340 int i = 0; 341 341 int len = xdo->keycode_high - xdo->keycode_low; … … 345 345 return xdo->charcodes[i].code; 346 346 347 return -1;347 return (KeyCode)-1; 348 348 } 349 349 -
trunk/xdotool/xdo.h
r1068 r1069 24 24 typedef struct charcodemap { 25 25 char key; 26 intcode;26 KeyCode code; 27 27 int shift; 28 28 } charcodemap_t;
Note: See TracChangeset
for help on using the changeset viewer.

