Interrupt / systemshock

Shockolate - A minimalist and cross platform System Shock source port.
GNU General Public License v3.0
801 stars 62 forks source link

explicit MFD selection #401

Closed yarolig closed 1 year ago

yarolig commented 1 year ago

On Ubuntu 20.04 and system SDL I have an issue. MFD selection do not work for left MFD. All F1..F10 keys are changing the MFD-panel on the right. It happens because keycodes for F1..F10 much larger than 128 and interpreted as keys for right-side MFD.

Explicit selection of MFD sides and buttons is fixing this issue.

(Personally I don't use F1..F10. But I going to change game controls code so I started with this)