From e9b4d5ee57426a1f167e7da97e39b15d0e0fe995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAny?= Date: Tue, 6 Sep 2016 21:20:59 +0200 Subject: [PATCH 1/2] #11 adapt snap yaml file to new build process --- snapcraft/snapcraft.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/snapcraft/snapcraft.yaml b/snapcraft/snapcraft.yaml index ed654fb..0f4cd00 100644 --- a/snapcraft/snapcraft.yaml +++ b/snapcraft/snapcraft.yaml @@ -1,8 +1,11 @@ name: evdevshift -version: 0.1 +version: 20160906-git summary: Allows to map events from one evdev device to newly created virtual one description: This program allows to map events from one evdev device to newly created virtual one. Buttons can be conditionaly remapped, and axes can be mapped to buttons (usefull to map hats to buttons). -confinement: devmode # use "strict" to enforce system access only via declared interfaces +#confinement: devmode # use "strict" to enforce system access only via declared interfaces + +#TODO: allow snap to access hardware device https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/#h.4pkwvbfmqz4q + apps: evdevshift: @@ -10,7 +13,7 @@ apps: parts: evdevshift: - plugin: make + plugin: autotools source: https://github.com/uglyDwarf/evdevshift source-type: git build-packages: From 5c8bee94b3fadbfdd15c54704805b7b73695cdbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAny?= Date: Tue, 6 Sep 2016 21:23:07 +0200 Subject: [PATCH 2/2] fix typo --- presets/Saiteck_AV8R-01.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presets/Saiteck_AV8R-01.conf b/presets/Saiteck_AV8R-01.conf index 44524bb..29252d8 100644 --- a/presets/Saiteck_AV8R-01.conf +++ b/presets/Saiteck_AV8R-01.conf @@ -22,7 +22,7 @@ grab device "Saitek AV8R Joystick" //added "grab" axis ABS_X = 0 //axis X (left/right) axis ABS_Y = 1 //axis Y (front/back) axis ABS_Z = 2 //axis marked as "1" - axis ABS_RZ = 5 //axis aka "yawl" + axis ABS_RZ = 5 //axis aka "yaw" axis ABS_THROTTLE = 6 //axis marked as "2" axis ABS_HAT0X = 16 axis ABS_HAT0Y = 17