Make the Raze keyboard country specific

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Make the Raze keyboard country specific

Re: Make the Raze keyboard country specific

by SpemM » Wed Feb 16, 2022 5:01 am

The "activatecheat dnshowmap" works great bound to a key.

On the keyboard, I tried using eDuke32 and the keyboard is AZERTY so there must be some low level trap to the input.

However, if the activatecheat works on all cheats it solves my problem and simplifies entry you might want to consider it a fix with an update to the documentation.
Thanks, Spem

Re: Make the Raze keyboard country specific

by Graf Zahl » Tue Feb 15, 2022 10:26 am

Easier said than done. The in-game keyboard uses low level input methods like RawInput or DirectInput. And Windows makes it exceedingly hard to query the actual localized key names for that. GZDoom has the same problem, btw, just like lots of other games. It gets further complicated by the game using the untranslated key names to bind its in-game commands.

Another option to enter cheats is to enable the char input and prefix the cheat with '#'.

Re: Make the Raze keyboard country specific

by Gez » Tue Feb 15, 2022 10:24 am

Yes, the console is properly localized.

As for the in-game keyboard, the current behavior for entering cheats is consistent with Doom (where it's well-known that IDKFA and IDDQD had to be typed as IDKFQ and IDDAD on an AZERTY keyboard). Given how the generic code is kept in sync between GZDoom and Raze, I'm not sure which behavior is best.

Re: Make the Raze keyboard country specific

by Rachael » Tue Feb 15, 2022 10:15 am

As a stop-gap until this is properly implemented, you can try entering it in the console by preceding the cheat code with "activatecheat" - i.e. activatecheat dnshowmap. AFAIK the console should respect your country keyboard settings, but I am not 100% positive.

Make the Raze keyboard country specific

by SpemM » Tue Feb 15, 2022 10:12 am

When playing Duke3D the keyboard is US standard, but I have a French keyboard. So entering cheats such as "DNSHOWMAP" means entering "DNSHOZ,QP". This only occurs at the game screen not the console (unfortunately I cannot enter "DN" commands in the console).
NFS: implement local language for keyboard or allow the command to be bound to a key (ex: noclip).

PS: 5/5 for the port I have not experienced any problems while playing.

Top