Skip to content
  • Tor Lillqvist's avatar
    Implement the functions that until now just were non-functional stubs. For · 93fa867e
    Tor Lillqvist authored
    2002-02-26  Tor Lillqvist  <tml@iki.fi>
    
    	* gdk/win32/gdkkeys-win32.c: Implement the functions that until
    	now just were non-functional stubs. For "hardware keycodes", we
    	use Windows virtual keycodes. Not scancodes, although that at
    	first might seem more low-level and a better match to X11
    	keycodes.
    
    	The Windows API is really mixed up and confused with respect to
    	scancodes and virtual keycodes. (Surprised?) Some scancodes are
    	generated by two keys on the keyboard (!), and although the
    	keyboard messages do have a flag to indicate which key the user
    	pressed, other API that take a scan code as input don't let you
    	specify which actual key you mean.
    
    	(update_keymap): Function to build a X11-like representation of
    	the keyboard. Each key has four keysyms: two levels (nonshifted
    	and shifted) and two groups (normal and with AltGr).
    
    	(gdk_keymap_get_direction): Use the codepage corresponding to the
    	thread's input locale, not th...
    93fa867e