![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Keyboard layout: missing keys
I've bought a new laptop and migrated my old WUAE config into the new.
They apparently have the same keyboard (both are HP Laptops and have same keys, except different Quicklaunch buttons). The problem in short is that the keys detected by the Input panel are different (what is "Kana" key?? I don't have japanese keyboards ) or missing some (e.g. no "[56]" key so I can't use "<, >" keys on the Amiga side)... I cannot remap them since they are not correctly detected... ![]() Tested on WinUAE 1.5.4b4, Laptop HP Pavilion dv-5 1110el, Italian keyboard. ![]()
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 27 December 2008 at 15:36. |
|
|
|
|
|
#2 | |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
It is keyboard driver bug that reports bogus data..
Snip from email about similar problem: Quote:
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Sorry... I still can't understand: how do I solve this? What driver package is he talking about?
-some mins later- These settings? ![]() All drivers are updated.
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 27 December 2008 at 17:28. |
|
|
|
|
|
#4 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
I didn't get any better explanation, sorry.. I only know there was multiple keyboard/multimedia drivers that required updating.
You can try "winuae.exe -rawkeyboard" workaround but you most likely miss many special keys.. |
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Quote:
![]() Should use "Standard 101/102 keys..." as you can see in the picture in my previous msg... EDIT: Windows panel when I select 1st keyboard in the list says: "Path: connected to the keyboard port" correctly. For "Tastiera Microsoft eHome MCIR 109" insted says: "Path: on InfraRed receiver Microsoft eHome". My laptop infact does have also an IR port for multimedia remote controller... It's like WUAE inspects the wrong port. PS Using -rawkeyboard at least I can specify all keys included those missing. Thanks for the temp workaround.
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 28 December 2008 at 13:27. |
|
|
|
|
|
|
#6 | |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
Quote:
Attach complete winuaebootlog.txt, thanks. |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Here is the log
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Do you see something strange in the log?
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#9 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
Nothing interesting. Keyboard with bogus keys returned.
Note that all NT-based Windows versions always return single directinput keyboard, even if there are multiple real keyboards. There is nothing I can do. |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,902
|
I had this problem, too, on my new Acer laptop with preinstalled Vista. The only cure was to make a new clean install of Vista from an OEM DVD (a real installation DVD, not the recovery DVD which I burnt from the HDD contents) and only install the needed drivers, nothing which was already included in Vista.
Although I managed to redefine all missing keys except one on the Input panel. |
|
|
|
|
|
#11 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Mine is a fresh new install too
I've changed laptop...@Toni How do I enable rawkey by default without -rawkeyboard cmd line option? And/or can I force a key mapping for a missing key adding something like "input.1.keyboard.0.button.56=xxxxxxx.0" in the config?
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 03 January 2009 at 09:55. |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,902
|
Wasn't it preinstalled ? Did you do the installation ? Did you download all the latest drivers from your laptop's manufacturer's homepage ? Did you install Windows, tried WinUAE -> worked, installed one driver, tried WinUAE -> worked, installed another driver, tried WinUAE -> worked and so on until you identified the driver which caused the problem (or until you were satisfied and left out the remaining unneeded drivers) ?
|
|
|
|
|
|
#13 | |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Quote:
![]()
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
|
#14 | |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
Quote:
-- DirectInput gives you list of available keys depending on used keyboard (at least in theory as you can see..) Rawinput does not give you information about physical keyboard, only list of all possible keycodes (existing or not) and finally there is normal Windows keyboard events: can't be used in WinUAE because it does not allow windows keys or any other special keys to be used. (without side-effects) |
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Can I turn -rawkeyboard on by default without the need of the cmd line launch?
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#16 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Please, can you add this option? Thank you!
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#18 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
@Toni
This is the exact description of the keyboards & IDs on my laptop: Code:
Descrizione Standard 101/102-Key or Microsoft Natural PS/2 Keyboard with HP QLB Nome Avanzata (101 o 102 tasti) Layout 00000410 ID periferica PNP ACPI\PNP0303\4&54D76F7&0 Numero di tasti funzione 12 Porta I/O 0x00000060-0x00000060 Porta I/O 0x00000064-0x00000064 Canale IRQ IRQ 1 Driver c:\windows\system32\drivers\i8042prt.sys (6.0.6001.18000, 53,50 KB (54.784 Byte), 21/01/2008 3.23) Descrizione Tasti di tastiera controllo remoto Microsoft eHome Nome Avanzata (101 o 102 tasti) Layout 00000410 ID periferica PNP HID\IRDEVICE&COL05\2&D6067AB&0&0004 Numero di tasti funzione 12 Driver c:\windows\system32\drivers\kbdhid.sys (6.0.6001.18000, 15,50 KB (15.872 Byte), 02/11/2006 9.51) Descrizione Tastiera Microsoft eHome MCIR Nome Avanzata (101 o 102 tasti) Layout 00000410 ID periferica PNP HID\IRDEVICE&COL06\2&D6067AB&0&0005 Numero di tasti funzione 12 Driver c:\windows\system32\drivers\kbdhid.sys (6.0.6001.18000, 15,50 KB (15.872 Byte), 02/11/2006 9.51) Descrizione Tastiera Microsoft eHome MCIR 109 Nome Avanzata (101 o 102 tasti) Layout 00000410 ID periferica PNP HID\IRDEVICE&COL07\2&D6067AB&0&0006 Numero di tasti funzione 12 Driver c:\windows\system32\drivers\kbdhid.sys (6.0.6001.18000, 15,50 KB (15.872 Byte), 02/11/2006 9.51)
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#19 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
I guess I need to explain how DirectInput works (or how I think it works, it is weird as usual)
Perhaps during 9x era it was "direct", now it is completely virtual. VirtualDirectInput is perhaps better word today ![]() Ok, when application asks for directinput keyboard, it only gets one (even if there are multiple real keyboards). I am not sure how it decides which kind of directinput keyboard you get in this case (maybe it merges both layouts?) but in your case some driver or directinput itself guesses wrong. There is nothing the application can do. It has to believe what directinput tells it (because in some locale it could be legal layout) Rawkeyboard mode may be the default in future (because it allows multiple independent keyboards). Needs more mork.. btw, in latest beta you can add "Commandline=-rawkeyboard" in registry or ini and you get rawkeyboard automatically. |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Thanks
![]() Do you know other programs I can test to confirm my weird DirectInput detection?
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Quote:
![]()
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
|
#22 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
What? It is GUID_SysKeyboard that is used by WinUAE. Nothing new there.
|
|
|
|
|
|
#23 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
I can't understand what's the meaning of:
Note If the computer has more than one mouse, input from all mice is combined to form the system device. The same is true for multiple keyboards. "merging" 2 or more layout is crazy IMHO... ![]() However the prob is that with WUAE I can't choose some keys (e.g. 0x56: '<' near the Z key). If layouts are merged should show MORE keys, not less than 1 layout... am I wrong? Is DI buggy?
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#24 | ||
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
Quote:
Quote:
|
||
|
|
|
|
|
#25 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
I've found that also DosBox emulator doesn't detect those keys!
![]() I tried to uninstall HP Keyboard driver using Vista's default PS/2 driver but those keys are still unavailable... Someone has solved this problem with these HP laptops???
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#26 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Maybe I've found an interesting discussion about DI's problems, but I'm not expert nor I've ever coded for Windows...
http://www.gamedev.net/community/for...opic_id=468513 http://www.gamedev.net/community/for...ply_id=3074105 http://www.gamedev.net/community/for...opic_id=519794
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 26 January 2009 at 16:49. |
|
|
|
|
|
#27 | |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,942
|
Quote:
WM_CHAR (normal Windows messages) is totally unusable because you can't read any special keys. (at least without side-effects) WM_INPUT works but I am not ready to drop keyboard directinput support just yet (they won't work simultaneously) |
|
|
|
|
|
|
#28 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
I've found a flawlessly solution to solve the problem without drawbacks! :-)
My system had 4 keyboard drivers installed:
Since I noticed WUAE showed 'Tastiera Microsoft eHome MCIR 109' when using -rawkeyboard I had the idea to remove it from Device manager. To be exact I manually changed (=forced installation) the driver for it to be generic 'HID compatible device' (this left just the first 3 keyboards and created another generic HID device in the HID node list) and.... it worked!! Now all emulators give me back the correct keys, and WUAE also works without -rawkeyboard (now shows 'Tastiera Microsoft eHome MCIR') with all keys available, also <, ì, è, + etc. correctly mapped as I see on the keyboard! ![]() All in all it seems it was a wrong driver device detection adding an unexistant keyboard to the list, that merged in the whole virtual keyboard used by DirectInput and caused all the troubles! Phew... I couldn't find a better solution, and the system runs fine, including the 2 remote controller and HP Quicklaunh buttons so it's all right! Thank you again Toni for your infinte patience that has driven me in the right direction! ![]() And thank you for WUAE that in this strange case geve me the clue to solve a HW/driver problem as well ![]() PS Simply uninstalling 'Tastiera Microsoft eHome MCIR 109' was not enough as Vista automatically would have found and reinstalled this keyboard!
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 28 January 2009 at 01:17. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible to change the keyboard into different layout? | Zyprexa | support.Hardware | 2 | 05 September 2007 02:05 |
| WinUAE keyboard layout? | DaveKlassix | support.WinUAE | 2 | 24 January 2007 09:49 |
| Keyboard layout B as default | Kodoichi | request.UAE Wishlist | 7 | 10 September 2006 16:09 |
| How to configure my own Keyboard Layout for Port 0/1? | BekKen | support.WinUAE | 8 | 20 May 2006 14:48 |
| Keyboard LAyout | Unregistered | support.Games | 6 | 19 July 2001 23:12 |