Open NaunidhDua opened 2 months ago
Perhaps listening for scancodes would solve this for 99% of players.
CS2 reports these scancodes for A and D (A and E on dvorak). bind scancode4 "+left" // US English key name "a" bind scancode8 "+right" // US English key name "e"
I looked at
main.rs
and I think you support QWERTY and AZERTY layouts. Could you add support for Dvorak layout?Valve is able to use the raw input somehow, doing this may help to avoid many
if
statements.