community-network / bf1-seeder

Gametools Autoseeding for Battlefield 4 and 1
10 stars 1 forks source link

Special Characters #4

Open Jethro-Afasfasfa opened 3 months ago

Jethro-Afasfasfa commented 3 months ago

Love your work and thanks for making this. Just a quick question, how does one include special characters (such as !, ^, and %) into the in-game message? I noticed they are stripped and usual escape methods are not working.

zefanjajobse commented 3 months ago

Its because it has to simulate the keypresses on the keyboard in order to fill that info into the in-game chat: https://github.com/community-network/seeder-app/blob/master/src/input/send_keys.rs

zefanjajobse commented 3 months ago

there are different keyboards, so implementing for a german keyboard will not work for a french keyboard