codenamecpp / carnage3d

Reimplementation of Grand Theft Auto 1 [GTA1]
MIT License
478 stars 38 forks source link

Console opening/closing keys are inconsistent #64

Closed MiroslavR closed 3 years ago

MiroslavR commented 3 years ago

The console can be opened with the key under ESC, independent of keyboard layout. But the closing key is not necessarily the same - it does depend on keyboard layout. My keyboard layout (Slovak) requires me to do a pretty wild combination of keystrokes to produce a backtick and close the console. I think both situations should use scancodes.

codenamecpp commented 3 years ago

I came up with not particularly elegant solution but it good for now