[gnome-games] gamepad: Add RawGamepad.standard_axis_event() signal
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gamepad: Add RawGamepad.standard_axis_event() signal
- Date: Sat, 27 Aug 2016 07:14:20 +0000 (UTC)
commit 4b4e50931fd74b4c2b4960bbaf11f9a6c6b58b7a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Aug 27 08:15:04 2016 +0200
gamepad: Add RawGamepad.standard_axis_event() signal
This will be used in the next commits to let the gamepads forward the
well formed axis events.
https://bugzilla.gnome.org/show_bug.cgi?id=770468
src/gamepad/raw-gamepad.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gamepad/raw-gamepad.vala b/src/gamepad/raw-gamepad.vala
index 8b5530e..4d39db0 100644
--- a/src/gamepad/raw-gamepad.vala
+++ b/src/gamepad/raw-gamepad.vala
@@ -17,6 +17,8 @@ private interface Games.RawGamepad : Object {
*/
public abstract signal void button_event (int code, bool value);
+ public abstract signal void standard_axis_event (StandardGamepadAxis axis, double value);
+
/**
* Emitted when an axis's value changes
* @param axis The axis number from 0 to axes_number
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]