Keybinds are weird on some computers.

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Enjay
 
 
Posts: 27363
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Keybinds are weird on some computers.

Post by Enjay »

randee wrote:Please copy and paste the output from this program.
The output is quite large. You may find it easier to redirect it to a text file using the following command line:

hiddevicecheck >output.txt

Then post the contents of the newly created output.txt file (or just attach the file).
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

This is for the HP keyboard. I'll do my Asus later.

Device Name: \??\HID#Vid_03f0&Pid_0b0c&MI_01&Col03#7&262a472f&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
Device type: HID
Vendor Id: 03f0
Product Id: 0b0c
Version No: 212
Usage Page for the device: 65407
Usage for the device: 1
***********************
Device Name: \??\HID#Vid_03f0&Pid_0b0c&MI_01&Col01#7&262a472f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Device type: HID
Vendor Id: 03f0
Product Id: 0b0c
Version No: 212
Usage Page for the device: 12
Usage for the device: 1
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col03#7&308cf89b&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
Device type: HID
Vendor Id: 045e
Product Id: 006d
Version No: 110
Usage Page for the device: 65468
Usage for the device: 136
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col02#7&308cf89b&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
Device type: HID
Vendor Id: 045e
Product Id: 006d
Version No: 110
Usage Page for the device: 12
Usage for the device: 1
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col01#7&308cf89b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Device type: HID
Vendor Id: 045e
Product Id: 006d
Version No: 110
Usage Page for the device: 65468
Usage for the device: 137
***********************
Device Name: \??\Root#RDP_KBD#0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 81
Subtype of the keyboard: 0
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 101
***********************
Device Name: \??\HID#Vid_03f0&Pid_0b0c&MI_00#7&12fa2af1&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 81
Subtype of the keyboard: 0
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 264
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col07#7&308cf89b&0&0006#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 7
Subtype of the keyboard: 2
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 161
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col06#7&308cf89b&0&0005#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 81
Subtype of the keyboard: 0
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 154
***********************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col05#7&308cf89b&0&0004#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 81
Subtype of the keyboard: 0
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 153
***********************
Device Name: \??\Root#RDP_MOU#0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 2
Number of Buttons: 2
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
Device Name: \??\HID#Vid_03f0&Pid_0b0c&MI_01&Col04#7&262a472f&0&0003#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 256
Number of Buttons: 3
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
Device Name: \??\HID#Vid_03ee&Pid_2501&Col08#7&308cf89b&0&0007#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 128
Number of Buttons: 2
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

Do you use your eHome Infrared Receiver? If not, you should uninstall it, because it's given you a fake Japanese keyboard, and that's interfering with the scan codes from your real keyboard. (It's also given you a fake mouse, but I don't know if that's cause for concern or not.) If you do use it, see if you can set it up to present a keyboard that's a closer match to the one you use than a Japanese one.
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

For the HP desktop, I don't want to remove the infrared receiver, because I still want to use it. So is there any other way to get rid of the japanese keyboard? Would simply unplugging the device work?


This is from my asus laptop.

Device Name: \\?\Root#RDP_KBD#0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 81
Subtype of the keyboard: 0
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 101
***********************
Device Name: \\?\ACPI#PNP0303#4&2fe6c92a&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Device type: Keyboard
Type of the keyboard: 7
Subtype of the keyboard: 2
Keyboard Mode: 1
Number of function keys: 12
Number of indicators: 3
Number of keys total: 101
***********************
Device Name: \\?\Root#RDP_MOU#0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 2
Number of Buttons: 2
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
Device Name: \\?\HID#VID_046D&PID_C019#6&3b7e7a6c&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 256
Number of Buttons: 8
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
Device Name: \\?\ACPI#SYN0A06#4&2fe6c92a&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
Device type: Mouse
ID for Mouse: 32
Number of Buttons: 5
Sample rate(Number of data points):
Has horizontal wheel: No
**************************
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

signofzeta wrote:So is there any other way to get rid of the japanese keyboard? Would simply unplugging the device work?
Maybe. You could try.

For your laptop, the keyboard is listed twice. Once as a USB keyboard and again as a Japanese keyboard.

There may be some more information if you use RegEdit to look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters.
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

randee wrote:
signofzeta wrote:So is there any other way to get rid of the japanese keyboard? Would simply unplugging the device work?
Maybe. You could try.

For your laptop, the keyboard is listed twice. Once as a USB keyboard and again as a Japanese keyboard.

There may be some more information if you use RegEdit to look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters.
ok, WTF? Not only do I have a japanese keyboard, I have something with a LayerDriverKOR, which I assume is korean. I know that I bought this in Canada, but this is getting ridiculous.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

Layer Driver KOR and Layer Driver JPN are normal. I have them on my machine, too, and I don't have any problems with it thinking my keyboard is Japanese. Do you have any additional keys in the registry entry?
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

randee wrote:Layer Driver KOR and Layer Driver JPN are normal. I have them on my machine, too, and I don't have any problems with it thinking my keyboard is Japanese. Do you have any additional keys in the registry entry?
hmm let's see

OverrideKeyboardIdentifier REG_SZ PCAT 106_KEY
OverrideKeyboardSubtype REG_DWORD 0x00000002 (2)
OverrideKeyboardType REG_DWORD 0x00000007 (7)
PollingIterations REG_DWORD 0x00002ee0 (12000)
PolliingIterationsMax REG_DWORD 0x00002ee0 (1200)
ResendIterations REG_DWORD 0x00000003 (3)
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

Those overrides are probably the culprits. Keyboard type 7 is Japanese. Try changing them to these:

LayerDriver JPN -> kbd101.dll
OverrideKeyboardIdentifier -> PCAT_101KEY
OverrideKeyboardType -> 4
OverrideKeyboardSubtype -> 0

You may need to reboot for changes to take effect.
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

randee wrote:Those overrides are probably the culprits. Keyboard type 7 is Japanese. Try changing them to these:

LayerDriver JPN -> kbd101.dll
OverrideKeyboardIdentifier -> PCAT_101KEY
OverrideKeyboardType -> 4
OverrideKeyboardSubtype -> 0

You may need to reboot for changes to take effect.
The keybinds are fixed except for one problem. When I try to quit the game, I have to use the task manager to end the task. The reasoning is this. When I go to the "are you sure you want to quit" screen, and I press y, nothing happens. If I press it again, or even hold y, some wierd chinese or japanese characters appear on the screen. Should I change LayerDriverKOR as well to 101 instead of 101a?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

It's 101a on mine, so that should be fine. Try running from a window instead of fullscreen so you can get a better view of what's happening. It sounds like it's trying to pop up an IME window.
signofzeta
Posts: 139
Joined: Thu Jul 07, 2005 8:48 am

Re: Keybinds are weird on some computers.

Post by signofzeta »

randee wrote:It's 101a on mine, so that should be fine. Try running from a window instead of fullscreen so you can get a better view of what's happening. It sounds like it's trying to pop up an IME window.
yeah, it has all this IME stuff.

How do I disable it?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

Open the Regional and Language Options control panel. Click the Languages tab. Then click the Details... button in the Text services and input languages section. In the new window that opens, remove any services you don't use.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Keybinds are weird on some computers.

Post by randi »

I've disabled the IME, so if that stuff didn't work for you, it shouldn't matter now.
Post Reply

Return to “Closed Bugs [GZDoom]”