1.1 --- a/src/drivers/video_gtk.c Sat Jan 26 03:11:56 2008 +0000
1.2 +++ b/src/drivers/video_gtk.c Mon Jan 28 02:38:09 2008 +0000
1.4 void video_gtk_shutdown();
1.5 gboolean video_gtk_display_blank( uint32_t colour );
1.6 uint16_t video_gtk_resolve_keysym( const gchar *keysym );
1.7 -uint16_t video_gtk_keycode_to_dckeysym(uint32_t keycode);
1.8 +uint16_t video_gtk_keycode_to_dckeysym(uint16_t keycode);
1.10 struct display_driver display_gtk_driver = { "gtk", video_gtk_init, video_gtk_shutdown,
1.11 video_gtk_resolve_keysym,
1.12 video_gtk_keycode_to_dckeysym,
1.14 NULL, NULL, NULL, NULL, NULL,
1.15 video_gtk_display_blank, NULL };
1.21 -uint16_t video_gtk_keycode_to_dckeysym(uint32_t keycode)
1.22 +uint16_t video_gtk_keycode_to_dckeysym(uint16_t keycode)
1.24 if( keycode >= 'a' && keycode <= 'z' ) {
1.25 return (keycode - 'a') + DCKB_A;
1.27 ! video_glx_init_driver( &display_gtk_driver ) ) {
1.30 +#ifdef HAVE_LINUX_JOYSTICK
1.31 + linux_joystick_init();