UCR icon indicating copy to clipboard operation
UCR copied to clipboard

Add Remappers for Toggle Switches

Open btodoroff opened this issue 5 years ago • 2 comments

Add three new remappers to support toggle switches.

Add a remapper SwitchToButtons that creates a different momentary button press when a toggle switch is moved to a new possiton. This is used to allow a two possition toggle switch to map to game controls that have a seperate button for each in game switch position. (i.e. "Landing Gear Up" and "Landing Gear Down")

Add a remapper SwitchToToggle that creates a momentary press of the same button each time a toggle switch is moved to a new possition. This is to allow a two position toggle switch to map to game controls that only have a single key to toggle a switch. (i.e. "Toggle Landing Lights"). This will also only create one button press if the switch is flipped back and forth quickly so that if game and physical switch are out of sync (one on and other is off) a quick flip back and forth will put them back in sync.

Add a remapper "Switch3WayToButtons" that creates a different momentary button press when an ON-OFF-ON toggle switch is moved to a each possiton. This is used to allow a three possition ON-OFF-ON toggle switch connected to two buttons to map to game controls that have a seperate button for each of three in game switch position. (i.e. "Headlights Off" and "Headlights On" and "Headlight High Beam")

btodoroff avatar Oct 27 '20 00:10 btodoroff

Would appreciate any pointers on how to debug the appveyor failures. Doesn't look like anything todo with my code, but not sure if I needed to do additional changes somewhere for the added source files. -Thanks!

btodoroff avatar Oct 27 '20 04:10 btodoroff

I don't think it is you, for example, the failure to load System.ValueTuple is clearly not you as your code does not reference it

On Tue, 27 Oct 2020 at 04:08, btodoroff [email protected] wrote:

Would appreciate any pointers on how to debug the appveyor failures. Doesn't look like anything todo with my code, but not sure if I needed to do additional changes somewhere for the added source files. -Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Snoothy/UCR/pull/199#issuecomment-716965600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANDZBDYVTDVBQGAMIOOJNLSMZBE3ANCNFSM4TAC6KYQ .

evilC avatar Oct 28 '20 22:10 evilC