@airtex2019 that’s quite a find! I’m not technically proficient enough to understand what’s going wrong in the AL code. But I did run into problems when using shifted POV, all my unshifted bindings get messed up.
I have 2 DX devices (TM stick and throttle) there’s a POV on my throttle. I’ve assigned some callbacks to both unshifted and shifted POV keys.
Everything runs smoothly until I hit a shifted POV key on throttle. Then the keybinds on my stick seem to go to their default (button 1 guns, button 2 pickle, …)
After a lot of searching on internet and my keyfiles, I think what you discovered is closely related.