Hi,
I'm having the following issue: if I setup a key bind with a 'shifts' modifier, my callback is never called when the keys are released. I'm using FSUIPC 5.154.
function testBind(keycode, shifts, downup)
-- always prints all three
print(downup == 1 and "initial press (A)"
or downup == 3 and "repeated press (A)"
or downup == 0 and "release (A)")
end
function testBindWithShifts(keycode, shifts, downup)
-- doesn't print 'release'!
print(downup == 1 and "initial press (CTRL+A)"
or downup == 3 and "repeated press (CTRL+A)"
or downup == 0 and "release (CTRL+A)" or "huh")
end
event.key(string.byte("A"), 8, 7, "testBind")
event.key(string.byte("A"), 2, 7, "testBindWithShifts")