[gnome-games] gamepad: Add RawGamepadCallback delegate
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gamepad: Add RawGamepadCallback delegate
- Date: Mon, 18 Jul 2016 18:52:35 +0000 (UTC)
commit 6cf0085ffc80574ef96456a6b55dd04a4e9c6fbe
Author: Megh Parikh <meghprkh gmail com>
Date: Mon Jul 18 22:04:25 2016 +0530
gamepad: Add RawGamepadCallback delegate
This defines the RawGamepadCallback delegate
This is part of a series of commits to add gamepad support.
src/Makefile.am | 1 +
src/gamepad/gamepad-callbacks.vala | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 536e64e..19fcfac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,6 +53,7 @@ gnome_games_SOURCES = \
dummy/dummy-icon.vala \
dummy/dummy-runner.vala \
\
+ gamepad/gamepad-callbacks.vala \
gamepad/raw-gamepad.vala \
\
grilo/grilo-cover.vala \
diff --git a/src/gamepad/gamepad-callbacks.vala b/src/gamepad/gamepad-callbacks.vala
new file mode 100644
index 0000000..a5faf4d
--- /dev/null
+++ b/src/gamepad/gamepad-callbacks.vala
@@ -0,0 +1,5 @@
+// This file is part of GNOME Games. License: GPLv3
+
+namespace Games {
+ private delegate void RawGamepadCallback (RawGamepad raw_gamepad);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]