This query is about trying to get a recently purchased Japanese Apple Aluminium keyboard working on a PC with Windows 64 bit, it doesn't get much harder than that for remapping :roll: . This would be easy to do with XP 32 bit because you can extract the keyboard driver from Apple bootcamp but there isn't one for 64 bit. Most of my problems were fixed by the following thread:
<!-- m -->http://www.msfn.org/... ... 03277.html<!-- m -->
That mapped all my keys in the right place in one fell swoop . My last problem now is how to activate the two Japanese keys that change the language from English to Japanese and back either side of the space bar. The good news is that #InstallKeybdHook tells me they are vkFFsc071 and vkFFsc072.
If the keyboard is on a mac I press the 071 key and it goes English, pressing 071 again does nothing, I press the 072 key and it goes to Japanese, press again and it does nothing of course. All is well. On a PC however both keys do nothing. With AutoHotKey running I've been able to activate them with the following test script:
#InstallKeybdHook ; Change to English vkFFsc071 :: 1 ; Change to Japanese vkFFsc072 :: 2
If this worked completely then I would just replace "1" and "2" with the correct Scancodes from <!-- m -->http://hp.vector.co.... ... tm#scan_n1<!-- m -->. But the first time I press either 071 or 072 it types "1" in a notepad window and after that neither key responds. Reload the script and the same thing happens again. I'm new at this and it's beyond me, I've a feeling it can be made to work, any suggestions? I'm guessing without an Apple keyboard driver the keys don't toggle each other off and they both stay on or something?
Here's the key history for reloading the script and pressing 071 then 072 each once in case it's helpful:
VK SC Type Up/Dn Elapsed Key Window
-------------------------------------------------------------------------------------------------------------
FF 071 h u 19.45 not found
31 002 i d 0.00 1
FF 072 h u 3.69 not found
31 002 i u 0.00 1
Press [F5] to refresh.
I'd prefer a permanent registry change for this keyboard but I have no idea if that's possible. Thanks for any help.