[Risolto] Tasti che non funzionano con certi programmi (2 emulatori)

Stato
Discussione chiusa ad ulteriori risposte.

hexaae

Utente Attivo
105
3
CPU
Intel Core i7-4860HQ
Scheda Madre
Intel HM87
HDD
SSD da 500MB/s
RAM
16GB DDR3L 2133MHz
GPU
GX 980M 4GB DDR5 con G-Sync
PSU
230W
OS
Windows 10 x64
Salve (leggere la firma per la mia config HW/SW),
ho recentemente cambiato portatile, da un HP Presario F500EA a quello in firma e ho un problema di tasti morti con alcune applicazioni (per ora provato con 2 emulatori)... :skept:
Il problema è che non funzionano i tasti: \, <, ì, è, à con DosBox, e con WinUAE il layout scelto è assurdo e < non funziona.
Il programmatore di WUAE mi assicura che non fa nulla di strano e il progrmma interroga semplicemente tramite DirectInput la tastiera installata quindi il bug è o in DirectInput() o nei driver...
Da Gestione dispositivi risultano installate 4 tastiere:

Il portatile ha 1 ricevitore infrarossi per i 2 telecomandi inclusi...
Da Windows funzionano tutti correttamente naturalmente, però sul vecchio portatile funzionavano anche tutti quei tasti con quei programmi...
 

hexaae

Utente Attivo
105
3
CPU
Intel Core i7-4860HQ
Scheda Madre
Intel HM87
HDD
SSD da 500MB/s
RAM
16GB DDR3L 2133MHz
GPU
GX 980M 4GB DDR5 con G-Sync
PSU
230W
OS
Windows 10 x64
Ho trovato la soluzione, grazie all'emulatore WinUAE!
È un problema di errata configurazione HW/driver di default (!!) sul portatile HP Pavilion dv5-1110el che aggiunge una inesistente tastiera alla lista di quelle disponibili (Tastiera Microsoft eHome MCIR 109).
Ciò causa problemi a tutti i programmi che usano le DirectInput per determinare i tasti premuti (in genere poi rimappati nel programma) e tasti come \, <, ì, à, ù non vengono più correttamente rilevati da tali programmi (anzi, appaiono sconosciuti, morti e non rimappabili in alcun modo! :rolleyes:).

Comunque fatto sta che il problema è semplice da risolvere: andare sulle tastiere disponibili e forzare l'infame e inesistente 'Tastiera Microsoft eHome MCIR 109' ad un aggiornamento manuale dei driver, selezionando come driver 'Dispositivo compatibile HID', non quella rilevata di default da Vista!
Ciò lascia 3 tastiere solamente nella lista (invece delle 4 originarie) ma tutto funziona regolarmente inclusi i tasti speciali Quicklaunch e i 2 telecomandi in dotazione (aggiunge anche un nuovo dispositivo generico alla lista del nodo HID di Gestione dispositivi)!
Quindi problema risolto!

Tirata di orecchie a quelli di HP però che non si sono accorti del problema! :O

Allego il msg originale (in inglese) nel forum di WinUAE dove ho risolto:

I've found a flawlessly solution to solve the problem without drawbacks! :-)

My system had 4 keyboard drivers installed:
  • Standard 101/102-Key or Microsoft Natural PS/2 Keyboard with HP QLB
  • Tasti di tastiera controllo remoto Microsfot eHome (=remote control)
  • Tastiera Microsoft eHome MCIR (?)
  • Tastiera Microsoft eHome MCIR 109 (????????????)
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!

PS
Simply uninstalling 'Tastiera Microsoft eHome MCIR 109' was not enough as Vista automatically would have found and reinstalled this keyboard!
 
Stato
Discussione chiusa ad ulteriori risposte.

Entra

oppure Accedi utilizzando
Discord Ufficiale Entra ora!