The reason for a stuck SimHotasPinkyShift (hereafter SHPS) is because you are not transmitting the release context on a button number which associated with that callback. Think about it from the software’s point of view: “Oh, the user pressed button 19, let me look up what callback that number activates… let’s see, SHPS. OK SHPS is pressed.” Now if you want to send the release context for SHPS then you have to release button 19.
But you don’t have a button 19. You might think of course I have a button 19! I just pressed it! That’s how I managed to activate SHPS in the first place. But that’s ancient history. When you release whatever physical control that was button 19, what you’re telling the software is “I just released button 275.” This is because SHPS has the effect of adding 256 to every button, all of them, including the button that you pressed to do it. So if your only way to release SHPS is to release button 19, it’ll never happen because button 19 has ceased to exist.
These double entries are no good and neither is using both SHPS and the regular non-shift pinky callback. You want exactly 3 entries related to SHPS and 0 related to non-shift pinky. The simple procedure is as follows:
1. Delete every line in the .key file associated with SimPinkySwitch. You don’t need them and it’s only going to cause problems.
2. Delete every line in the .key file associated with SHPS except one. Your .key should only have (related to pinky button):
SimHotasPinkyShift -1 0 0XFFFFFFFF 0 0 0 1 “STICK: PINKY SWITCH (DX SHIFT)”
3. Run Falcon and bind in the normal way your desired button for pinky. Save and close, opening .key in Notepad which should now have:
SimHotasPinkyShift -1 0 0XFFFFFFFF 0 0 0 1 “STICK: PINKY SWITCH (DX SHIFT)”
SimHotasPinkyShift A 8 -2 0 0x0 -1
4. Copy this new line below the first:
SimHotasPinkyShift -1 0 0XFFFFFFFF 0 0 0 1 “STICK: PINKY SWITCH (DX SHIFT)”
SimHotasPinkyShift A 8 -2 0 0x0 -1
SimHotasPinkyShift A 8 -2 0 0x0 -1
5. Edit the last line by increasing by 256:
SimHotasPinkyShift -1 0 0XFFFFFFFF 0 0 0 1 “STICK: PINKY SWITCH (DX SHIFT)”
SimHotasPinkyShift A 8 -2 0 0x0 -1
SimHotasPinkyShift A+256 8 -2 0 0x0 -1
6. Save, close, and run Falcon again, testing using Instant Action or similar.
When you press “Button A” it should press SHPS and releasing “Button A+256” should release SHPS. Keep in mind that I use A as a variable. Don’t actually type the letter A. If the button is the nineteenth button then A is 18 and A+256 is 274.