Search
lxdream.org :: lxdream/src/gtkui/gtk_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtk_win.c
changeset 1010:a506a2f66180
prev986:5090104b0963
next1015:ad448bedc48a
author nkeynes
date Sun Apr 12 02:04:27 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change Fix analogue joystick input
file annotate diff log raw
1.1 --- a/src/gtkui/gtk_win.c Tue Feb 24 11:50:17 2009 +0000
1.2 +++ b/src/gtkui/gtk_win.c Sun Apr 12 02:04:27 2009 +0000
1.3 @@ -216,14 +216,14 @@
1.4 }
1.5 #endif
1.6 }
1.7 - input_event_keydown( NULL, gtk_get_unmodified_keyval(event), 1 );
1.8 + input_event_keydown( NULL, gtk_get_unmodified_keyval(event), MAX_PRESSURE );
1.9 return TRUE;
1.10 }
1.11
1.12 static gboolean on_video_window_key_released( GtkWidget *widget, GdkEventKey *event,
1.13 gpointer user_data )
1.14 {
1.15 - input_event_keyup( NULL, gtk_get_unmodified_keyval(event), 0 );
1.16 + input_event_keyup( NULL, gtk_get_unmodified_keyval(event) );
1.17 return TRUE;
1.18 }
1.19
.