[retro-gtk/gamepad] Add some traces
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/gamepad] Add some traces
- Date: Tue, 25 Jul 2017 13:36:39 +0000 (UTC)
commit 51a8ee06c7b3189b4a9d06f42a5147f9d649d40c
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Jul 25 15:36:26 2017 +0200
Add some traces
retro-gtk/input/retro-gamepad.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/input/retro-gamepad.c b/retro-gtk/input/retro-gamepad.c
index eec4c7a..29767df 100644
--- a/retro-gtk/input/retro-gamepad.c
+++ b/retro-gtk/input/retro-gamepad.c
@@ -101,6 +101,8 @@ retro_gamepad_button_press_event (RetroGamepad *self,
retro_button = button_to_retro_button (button);
+ g_message ("retro_gamepad_button_press_event: button %u retro button %u", button, retro_button);
+
if (retro_button == RETRO_JOYPAD_ID_COUNT)
return;
@@ -117,6 +119,8 @@ retro_gamepad_button_release_event (RetroGamepad *self,
retro_button = button_to_retro_button (button);
+ g_message ("retro_gamepad_button_release_event: button %u retro button %u", button, retro_button);
+
if (retro_button == RETRO_JOYPAD_ID_COUNT)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]