[gnome-games] gamepad: Add MappingError
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gamepad: Add MappingError
- Date: Mon, 18 Jul 2016 18:53:30 +0000 (UTC)
commit 29c4ab5c38dae09c45db657ab1ceef1e9aaab6d2
Author: Megh Parikh <meghprkh gmail com>
Date: Mon Jul 18 22:28:17 2016 +0530
gamepad: Add MappingError
This error domain is used to represent errors that arise while mapping the
controls of a gamepad.
This is part of a series of commits to add gamepad support.
src/Makefile.am | 1 +
src/gamepad/gamepad-mapping-error.vala | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index d999c21..c75991c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,6 +56,7 @@ gnome_games_SOURCES = \
gamepad/gamepad-callbacks.vala \
gamepad/gamepad-input-type.vala \
gamepad/gamepad-mapped-event.vala \
+ gamepad/gamepad-mapping-error.vala \
gamepad/gamepad-mappings-manager.vala \
gamepad/linux/linux-raw-gamepad.vala \
gamepad/linux/linux-raw-gamepad-monitor.vala \
diff --git a/src/gamepad/gamepad-mapping-error.vala b/src/gamepad/gamepad-mapping-error.vala
new file mode 100644
index 0000000..72c75b4
--- /dev/null
+++ b/src/gamepad/gamepad-mapping-error.vala
@@ -0,0 +1,5 @@
+// This file is part of GNOME Games. License: GPLv3
+
+private errordomain Games.GamepadMappingError {
+ NOT_A_MAPPING,
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]