[gnome-games] core: Add InputMode



commit e3611dee179af78ad85658b89443a7cd4d4322bb
Author: Yetizone <andreii lisita gmail com>
Date:   Tue Nov 6 16:41:23 2018 +0200

    core: Add InputMode

 src/core/input-mode.vala | 5 +++++
 src/meson.build          | 1 +
 2 files changed, 6 insertions(+)
---
diff --git a/src/core/input-mode.vala b/src/core/input-mode.vala
new file mode 100644
index 00000000..a677f410
--- /dev/null
+++ b/src/core/input-mode.vala
@@ -0,0 +1,5 @@
+public enum Games.InputMode {
+       NONE,
+       KEYBOARD,
+       GAMEPAD,
+}
diff --git a/src/meson.build b/src/meson.build
index ac57efbb..1511d0f8 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -25,6 +25,7 @@ vala_sources = [
   'core/genre.vala',
   'core/icon.vala',
   'core/input-capabilities.vala',
+  'core/input-mode.vala',
   'core/media.vala',
   'core/media-info.vala',
   'core/media-set/media-set.vala',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]