Contribute
Register

[Keyboard Layout] Italian Layout fix

Status
Not open for further replies.
Joined
Nov 8, 2012
Messages
4
Motherboard
HP ProoBook 4530s
CPU
i5
Graphics
intel
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Just installed Mountain Lion on my HP ProoBook 4530s.
I'm using the "Italian" keyboard layout.
Every key is mapped correctly except two keys.


Key immediately on the right of the left SHIFT:
on the keyboard I have "<" and ">", they are mapped to "\" and "|"

Key immediately under ESC:
on the keyboard I have "\" and "|", they are mapped to "<" and ">"


Is there a fix/workaround to swap these to keys in the "Italian" keyboard layout?

Giovanni
 
you can try to change it in rehabmans kext..otherwise i can say my "german" keyboard is also not mapped well
 
Do you have a link to help me go into this kext fix?
 
its here in this forum...on the first page!
 
Just installed Mountain Lion on my HP ProoBook 4530s.
I'm using the "Italian" keyboard layout.
Every key is mapped correctly except two keys.


Key immediately on the right of the left SHIFT:
on the keyboard I have "<" and ">", they are mapped to "\" and "|"

Key immediately under ESC:
on the keyboard I have "\" and "|", they are mapped to "<" and ">"


Is there a fix/workaround to swap these to keys in the "Italian" keyboard layout?

Giovanni

Run the debug version of my VoodooPS2Controller, press all the keys in question and take note of the scan codes in Console output. Then you can remap the keys (see remap wiki on github). There might be another way, but I don't know really that much about Apple international keyboard stuff.

It could be a little tricky (ie. might need some other solution) with "shift" versions of those keys... but you didn't say what the label is for the shifted versions.
 
IMG_20121115_181726.jpg

Maybe this is more clear: the physical key you see on the right of the left SHIFT is swapped with the one below ESC.
So if I hit:
< I get \
> I get |
\ I get <
| I get >
 
View attachment 38348

Maybe this is more clear: the physical key you see on the right of the left SHIFT is swapped with the one below ESC.
So if I hit:
< I get \
> I get |
\ I get <
| I get >

That is fixable. You will need to read the wiki on keyboard remapping and make some edits once you figure the scan code of each key. Once you have that, just make an entry in the "Custom PS2 Map" section of the VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist.

To determine the scan code of each key, install the debug version of my VoodooPS2Controller.kext, reboot, then run Console. Then tap each key in question, and you will see the scan codes for each of those keys. As a for example, let's just say that the "< >" key is aa, and the "\ |" key is bb. Just make two entries (in addition to the ones already there) in the "Custom PS2 Map" section:

aa=bb
bb=aa

If you are using TextEdit to edit them, they will look like:

Code:
<string>aa=bb</string>
<string>bb=aa</string>

Once you have made the edits, install your modified kext with Kext Wizard (it is probably wise to make the edits to the Release version of VoodooPS2Controller.kext since that is the build you will want to use normally), reboot, and test. You will, of course, have to make these edits every time you update to a new version of VoodooPS2Controller, so keep your modified Info.plist handy for the future.
 
Thank you for you help, I fixed the key mapping with:

Code:
<string>56=29</string>
<string>29=56</string>
 
Thank you for you help, I fixed the key mapping with:

Code:
<string>56=29</string>
<string>29=56</string>

Hi Giovanni, can you explain me how you did it? I have the same problem.. my Info.plist is this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>12C60</string>
<key>CFBundleExecutable</key>
<string>VoodooPS2Keyboard</string>
<key>CFBundleGetInfoString</key>
<string>1.7.6, Copyright Apple Computer, Inc. 2000-2003, RehabMan 2012</string>
<key>CFBundleIdentifier</key>
<string>org.rehabman.voodoo.driver.PS2Keyboard</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Voodoo PS/2 Keyboard</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.7.6</string>
<key>DTCompiler</key>
<string></string>
<key>DTPlatformBuild</key>
<string>4F1003</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>11E52</string>
<key>DTSDKName</key>
<string>macosx10.7</string>
<key>DTXcode</key>
<string>0441</string>
<key>DTXcodeBuild</key>
<string>4F1003</string>
<key>IOKitPersonalities</key>
<dict>
<key>ApplePS2Keyboard</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.rehabman.voodoo.driver.PS2Keyboard</string>
<key>Custom ADB Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=adbto</string>
</array>
<key>Custom PS2 Map</key>
<string>56=29</string>
<string>29=56</string>
<array>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>;The following 12 items map Fn+fkeys to fkeys</string>
<string>e05f=3b</string>
<string>e012=3c</string>
<string>e017=3d</string>
<string>e06e=3e</string>
<string>e00a=3f</string>
<string>e009=40</string>
<string>e020=41</string>
<string>e02e=42</string>
<string>e030=43</string>
<string>e010=44</string>
<string>e022=57</string>
<string>e019=58</string>
<string>;The following 12 items map fkeys to Fn+fkeys</string>
<string>3b=e05f</string>
<string>3c=e012</string>
<string>3d=e017</string>
<string>3e=e06e</string>
<string>3f=e00a</string>
<string>40=e009</string>
<string>41=e020</string>
<string>42=e02e</string>
<string>43=e030</string>
<string>44=e010</string>
<string>57=e022</string>
<string>58=e019</string>
</array>
<key>IOClass</key>
<string>ApplePS2Keyboard</string>
<key>IOProviderClass</key>
<string>ApplePS2KeyboardDevice</string>
<key>Make Application key into Apple Fn key</key>
<true/>
<key>Make Application key into right windows</key>
<false/>
<key>Make right modifier keys into Hangul and Hanja</key>
<false/>
<key>SleepPressTime</key>
<integer>3000</integer>
<key>Swap capslock and left control</key>
<false/>
<key>Swap command and option</key>
<true/>
<key>Use ISO layout keyboard</key>
<false/>
<key>alt_handler_id</key>
<integer>3</integer>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOHIDSystem</key>
<string>1.1</string>
<key>com.apple.kpi.bsd</key>
<string>8.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>8.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>8.0.0</string>
<key>org.rehabman.voodoo.driver.PS2Controller</key>
<string>1.7.5</string>
</dict>
<key>OSBundleRequired</key>
<string>Console</string>
<key>Source Code</key>
<string>https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller</string>
</dict>
</plist>

How you can see, I have already added yours 2 strings in the Custom PS2 Map section, but nothing is changed.. Can you help me please?
Thanks! Grazie!
 
Misplaced array tag...

Where you have:
Code:
<key>Custom PS2 Map</key>
<string>56=29</string>
<string>29=56</string>
<array>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>;The following 12 items map Fn+fkeys to fkeys</string>
<string>e05f=3b</string>

should be:
Code:
<key>Custom PS2 Map</key>
<array>
<string>56=29</string>
<string>29=56</string>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>;The following 12 items map Fn+fkeys to fkeys</string>
<string>e05f=3b</string>
 
Status
Not open for further replies.
Back
Top