Well, i've got some time to spend, because i've to wait for the work of a freind on freeplayer.Originally Posted by dlanor
Another thing in the same vein:
People are probably going to start asking for regional keyboard support, as the one we have now assumes a US keyboard layout. I've noticed from the PS2SDK files that this is supposed to be modifiable, by loading remapping files, but the texts I found were rather cryptic on the subject.
Do you have any tips/links to better docs on this ?
So i decide to take a look at keymaping.
What i know about this is :
There is 5 type of keyboard :
There is 3 needed definition for each keyboard :
- Plain Keymap
- Shift Keymap
Optionaly there is a special, control, and alt keymap, but not needed.
So if we want to implement different keymap, we have to found and write 15 definition ( 5 keyboard type * 3 keymap defs, and there is 256 char for each ), not to hard for azerty, qwerty, and qwertz, but more for the 2 others.
An other thing is to find the way to determinate the keyboard type at startup if there is one plug. ( linux do it, so we can do it as well )
Maybe we can found what we need somewhere ( linux kit for exemple )
I will take a look later.
But anyway we can't implement all characters from all keyboard.