![]() |
![]() |
#1 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
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 ![]() ![]() Tested on WinUAE 1.5.4b4, Laptop HP Pavilion dv-5 1110el, Italian keyboard. ![]() Last edited by hexaae; 27 December 2008 at 15:36. |
![]() |
![]() |
#2 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
It is keyboard driver bug that reports bogus data..
Snip from email about similar problem: Quote:
|
|
![]() |
![]() |
#3 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
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. Last edited by hexaae; 27 December 2008 at 17:28. |
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
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 | |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
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. Last edited by hexaae; 28 December 2008 at 13:27. |
|
![]() |
![]() |
#6 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
Quote:
Attach complete winuaebootlog.txt, thanks. |
|
![]() |
![]() |
#7 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Here is the log
|
![]() |
![]() |
#8 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Do you see something strange in the log?
|
![]() |
![]() |
#9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
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: 6,780
|
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 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Mine is a fresh new install too
![]() @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? Last edited by hexaae; 03 January 2009 at 09:55. |
![]() |
![]() |
#12 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,780
|
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 | |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Quote:
![]() |
|
![]() |
![]() |
#14 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
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 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Can I turn -rawkeyboard on by default without the need of the cmd line launch?
|
![]() |
![]() |
#16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
|
![]() |
![]() |
#17 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
|
![]() |
![]() |
#18 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
@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) |
![]() |
![]() |
#19 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 25,813
|
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 |
Bug hunter
![]() Join Date: Jul 2006
Location: Italy
Age: 47
Posts: 2,082
|
Thanks
![]() Do you know other programs I can test to confirm my weird DirectInput detection? |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A1000 keyboard-keys compatible with Cherry keyboard-keys? | Centerguy | support.Hardware | 5 | 09 August 2010 00:56 |
How to change keyboard layout | paulo_becas | project.ClassicWB | 2 | 26 February 2010 19:42 |
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 | Unregistered | support.Games | 6 | 19 July 2001 23:12 |
|
|