korhona Posted January 26, 2019 Posted January 26, 2019 Hello guys, I'm trying to get my switches to work properly with the CEII but it seems that it doesn't want my new menu in inputs ... I have modified the default.lua in input>Joystick with a new line like this one : {down = device_commands.Smoke, up = device_commands.Smoke, cockpit_device_id = devices.GENERAL, value_down = 1.0 value_up = 0.0 , name = _('Smoke toggle'), category = _('3-pos')}, This works with all my other aircrafts .... has anyone got an idea please ? Thanks a lot ! see you in the sky. -------------- TAW -------------- --- CVW-88 - Ace of Spades --- --------------AV8B--------------- i7-9700k, 32Gb 3000Mhz, MSI RTX 2080Ti, Warthog with extender, MFG Crosswind, StreamDeck, Pimax 5K+
korhona Posted January 31, 2019 Author Posted January 31, 2019 No one is using a warthog throttle ? or am I not seeing something obvious ? Thanks guys !:thumbup: -------------- TAW -------------- --- CVW-88 - Ace of Spades --- --------------AV8B--------------- i7-9700k, 32Gb 3000Mhz, MSI RTX 2080Ti, Warthog with extender, MFG Crosswind, StreamDeck, Pimax 5K+
Dolphin887 Posted January 31, 2019 Posted January 31, 2019 There are 2 distinctive inputs already coded in CE2 inputs for keyboard and joystick (see attached image). All you need to do is to map desired joystick input to listed joystick inputs. If you insist of making your own input, insert comma between "value_down = 1.0 value_up = 0.0" so it looks like this: "value_down = 1.0, value_up = 0.0" rendering the final code as: {down = device_commands.Smoke, up = device_commands.Smoke, cockpit_device_id = devices.GENERAL, value_down = 1.0, value_up = 0.0, name = _('Smoke toggle'), category = _('3-pos')}, Power through superb knowledge, training and teamwork. [sIGPIC][/sIGPIC]
korhona Posted February 2, 2019 Author Posted February 2, 2019 I feel really stupid now :) I've looked at the line multiple times and didn't spot it ... damn ..... now it workd like a charm ! Thanks a lot Dolphin. -------------- TAW -------------- --- CVW-88 - Ace of Spades --- --------------AV8B--------------- i7-9700k, 32Gb 3000Mhz, MSI RTX 2080Ti, Warthog with extender, MFG Crosswind, StreamDeck, Pimax 5K+
Recommended Posts