How to get the hardware keycode for TAB



Hi, I try to get the hardwaer keycode for 'Tab' by

eventkey.hardware_keycode = gdk_unicode_to_keyval('GDK_Tab')


the return value is 16842505, but actually the hardware keycode for Tab is 65289. How to get the correct hardware_keycode?


Thanks!!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]