• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

BZ2 Keyboard Problem (using multilingual KB)

Started by Zero Angel, October 07, 2008, 01:36:07 AM

Previous topic - Next topic

Zero Angel

I recently bought a laptop that has a canadian multilingual keyboard. I've had to jump through some hoops to get Vista x64 to stop changing the layout and all the keys work as expected in all my programs. Except for BZ2. I find that some of the keys dont work at all from within bz2. This includes the tilde key, equals/plus key, left bracket/brace, and quote key.

AFAIK, the layout itself is not hugely different than a normal keyboard:


I've tried playing around with my keyboard layout settings, and the few of them I tried havent worked fixed the problem -- which happens in both 1.2 and 1.3pb4a

Anyone have ideas?
QuoteAwareness, Teamwork, Discipline
Constantly apply these principles, and you will succeed in a lot of things, especially BZ2 team strat.
{bac}Zero Angel
Victory through superior aggression

OvermindDL1

They probably use different scancodes.  Normally windows can auto convert the scancodes (and there is a key profile editor on the Microsoft site to make that easy to create a new one), but most games read the keycodes (hardware level) and not the scancodes (software level) so they can properly listen to each key (like each Shift key individually, instead of both as one and so forth).  Fixing it would probably be just as simple as editing the BZ2 keymap file to use your keycodes instead of standard ASCII keycodes.  The complicated fix (but would fix it in all of your games) would be to create a Keyboard Hook Driver (Windows XP and higher only) to convert the hardware keycodes to more usual hardware keycodes.

Generated by OvermindDL1's Signature Auto-Add Script via GreaseMonkey


Zero Angel

BZ2 seems to talk to the OS to get the keyboard scancodes, at least on some level. Some of the KB layouts (in the windows i8n settings) i've tried have elicited different responses when I try to type into bz2, such as having the c with the little hook at the bottom of it show up as well as other non-english characters appearing when I type certain keys.
QuoteAwareness, Teamwork, Discipline
Constantly apply these principles, and you will succeed in a lot of things, especially BZ2 team strat.
{bac}Zero Angel
Victory through superior aggression

General BlackDragon

I know in 1.3 in gameprefs.ini there's a section at bottom that lists keyboard key stuff...any ideas there?



*****General BlackDragon*****

TheJamsh

best way to get around it would be plugging in an external keyboard wouldnt it?

i went for a laptop with a full keyboard, i dont know if missing the numpad etc effects the way programs/drivers read it?


BZII Expansion Pack Development Leader. Coming Soon.