From a29f5d63e25b72fdcbf91759ab816f7d4fff0e6f Mon Sep 17 00:00:00 2001 From: Melchior FRANZ Date: Sat, 10 Dec 2011 20:13:05 +0100 Subject: [PATCH 1/3] warthog: stick_rotate: re-attach listeners (nicer for development) --- Input/Joysticks/ThrustMaster/Warthog/Stick/stick_rotate.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Input/Joysticks/ThrustMaster/Warthog/Stick/stick_rotate.xml b/Input/Joysticks/ThrustMaster/Warthog/Stick/stick_rotate.xml index e467ae1e8..d1d98216e 100644 --- a/Input/Joysticks/ThrustMaster/Warthog/Stick/stick_rotate.xml +++ b/Input/Joysticks/ThrustMaster/Warthog/Stick/stick_rotate.xml @@ -9,10 +9,13 @@ From 6088b75a52d3947d0d84615f6a5dc6a0407126be Mon Sep 17 00:00:00 2001 From: Melchior FRANZ Date: Sat, 10 Dec 2011 20:10:45 +0100 Subject: [PATCH 2/3] warthog: IOrules need read permissions as well --- Input/Joysticks/ThrustMaster/Warthog/README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Input/Joysticks/ThrustMaster/Warthog/README b/Input/Joysticks/ThrustMaster/Warthog/README index 6e50bc028..2f97e8dd8 100644 --- a/Input/Joysticks/ThrustMaster/Warthog/README +++ b/Input/Joysticks/ThrustMaster/Warthog/README @@ -101,8 +101,10 @@ via raw HID support. $ mkdir -p ~/.fgfs/Nasal $ cp $FG_ROOT/Nasal/IOrules ~/.fgfs/Nasal - Now add these two lines there: + Now add these four lines there: + READ ALLOW /dev/input/hidraw/Thustmaster_Joystick_-_HOTAS_Warthog + READ ALLOW /dev/input/hidraw/Thrustmaster_Throttle_-_HOTAS_Warthog WRITE ALLOW /dev/input/hidraw/Thustmaster_Joystick_-_HOTAS_Warthog WRITE ALLOW /dev/input/hidraw/Thrustmaster_Throttle_-_HOTAS_Warthog From fddd2b6e615ae9d5ac7648e82ab50bf3697285be Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sat, 10 Dec 2011 21:33:11 +0100 Subject: [PATCH 3/3] Add kx165 flightrecorder component and use it for SenecaII also downgrade double to float to save some space --- .../flightrecorder/components/kx165.xml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Aircraft/Generic/flightrecorder/components/kx165.xml diff --git a/Aircraft/Generic/flightrecorder/components/kx165.xml b/Aircraft/Generic/flightrecorder/components/kx165.xml new file mode 100644 index 000000000..e47a4a7c7 --- /dev/null +++ b/Aircraft/Generic/flightrecorder/components/kx165.xml @@ -0,0 +1,65 @@ + + + + + + + + + bool + /instrumentation/comm[%i]/serviceable + + + bool + /instrumentation/nav[%i]/serviceable + + + bool + /instrumentation/nav[%i]/power-btn + + + bool + /instrumentation/comm[%i]/frq-swap-btn + + + float + /instrumentation/comm[%i]/frequencies/selected-mhz + + + float + /instrumentation/comm[%i]/frequencies/standby-mhz + + + float + /instrumentation/comm[%i]/volume + + + bool + /instrumentation/comm[%i]/test-btn + + + bool + /instrumentation/nav[%i]/frq-swap-btn + + + float + /instrumentation/nav[%i]/frequencies/selected-mhz + + + float + /instrumentation/nav[%i]/frequencies/standby-mhz + + + float + /instrumentation/nav[%i]/volume + + + bool + /instrumentation/nav[%i]/audio-btn + + + float + /instrumentation/comm[%i]/dimming-norm + + +