Emulator Issues #1635
closedDolphin PadSimple Plugin is not getting inputs from three keyboard keys
0%
Description
What steps will reproduce the problem?
- Run Dolphin.
- Click on Pad Settings
- Try mapping [ key and ' key in Dolphin PadSimple.
What is the expected output? What do you see instead?
I expect myself to see these keys being mapped correctly, or show up.
Instead, it clears the key mapping. Just like when you press Esc while
mapping a key.
Also, when mapping \ key to a button, it gives ] instead.
What version of the product are you using? On what operating system?
Dolphin SVN r4525, using Dolphin PadSimple Plugin
Please provide any additional information below.
None, currently.
Updated by tom.mai78101 about 15 years ago
Additional Info: Pressing = key fails to map correctly.
Updated by the.emeralddragonfly about 15 years ago
I'm not sure what the problem is here. I regularly use [, ], , and = as C button
keymappings (I have a laptop), and I never have issues. Even before my patch, I
didn't have any problems, IIRC. Maybe you need to update DirectX or something? Also,
Esc didn't clear the keymapping until yesterday... are you using source modifications
or one of those unofficial builds?
Also, you didn't mention the OS. Could have something to do with that as well.
Updated by luisr142004 about 15 years ago
- Status changed from New to Accepted
i don't get this problem at all (it doesn't happen for me o_O)
Updated by tom.mai78101 about 15 years ago
Then it's totally weird. PadSimple can't read these three keys...
I already have the latest version of DirectX, DirectX 10, and there's no new stuffs
being added. I've checked the web setup for it, nothing new.
OS: Windows Vista Home Premium, 32-bit
Model: Acer Aspire 5720-4126
Might have something to do with the keyboard model...
Updated by tom.mai78101 about 15 years ago
Also, Esc didn't clear the keymapping until yesterday... are you using source
modifications or one of those unofficial builds?
I used r4525, as mentioned above.
Additional info:
= [ \ '
Those four keys above, they get inputted incorrectly in Dolphin.
= doesn't exist.
\ is ].
] is [.
[ doesn't exist.
' doesn't exist.
` doesn't exist.
Alt Gr doesn't exist.
Pause Break doesn't exist.
PrtSc SysRq doesn't exist.
Updated by Anonymous about 15 years ago
what keyboard maps/languages do the people with the problem have?
Updated by tom.mai78101 about 15 years ago
English. Keyboard: QWERTY version.
Don't understand your question clearly, sir.
Updated by the.emeralddragonfly about 15 years ago
AltGr, Pause/Break, and PrintScreen don't work for me either--but I wouldn't expect
them to. But, it seems to me, the right-hand side alt/ctrl won't map at all
(including both US-International altGr and English/US right-alt).
So do you actually have an altGr key or is it simply mapped to right alt? (The
standard US keyboard layout has no altGr key.)
If you have any other PC games, try mapping =[]'` there and see if they work. If
not, this has something to do with your computer in particular.
Updated by tom.mai78101 about 15 years ago
I'm using a laptop. It's bought in USA, so it should be a US integrated keyboard with
Alt Gr.
I mapped those keys in CS 1.6, and they seemed to work pretty well. So, no, it's not
my laptop in particular.
Updated by fgfemperor almost 15 years ago
I can't reproduce that on r4735 ...
Does anyone still have this issue on r4735 ?
Updated by tom.mai78101 almost 15 years ago
Why is it fixed? Is it, truly, just me and my recently new laptop's fault?
:(
Updated by tom.mai78101 almost 15 years ago
I believe it has to do with the layout of the keyboard.
Here's a picture of it: http://img695.imageshack.us/img695/8549/54634944.jpg
Updated by fgfemperor almost 15 years ago
@tom.mai78101: That's actually exactly the same as my laptop's layout, which I just
tested... Tell me something: what's the configured keyboard layout and language on your
OS?
Updated by tom.mai78101 almost 15 years ago
Ugh...didn't see that rev. Will check.
Updated by tom.mai78101 almost 15 years ago
Configured Keyboard Layout:
http://img9.imageshack.us/img9/5139/75491764.jpg
I can't seem to set up any customized keyboard layout, so it's basically nothing but
the QWERTY layout.
In the picture of the keyboard, I should've made some notificationsto show: =, [, and
' keys.
OS Language:
English.
Updated by tom.mai78101 almost 15 years ago
Additional Info: (I'm jumping places to places...Sorry, fgfemperor)
There's no backslash hex code 0x2b detected in Dolphin...There's something missing.
Updated by tom.mai78101 almost 15 years ago
Further Investigation:
I'm not using the United States layout.
Instead, it's US-International layout. It's the one with the dead key.
http://en.wikipedia.org/wiki/Keyboard_layout#US-International
Updated by tom.mai78101 almost 15 years ago
I really couldn't think of a better way. However, I didn't come empty-handed.
I did this:
default:
GetKeyNameTextA(keycode << 15, keyStr, 64);
break;
Then press F11, and I got back my missing backslash.
Then I tried many numerous ways to check what value it returned when I press a
specific key button, but in vain. My idea is to use a loop, run a check on what hex
value I got from the inputs I made, make a log of it (them), then debug. But I got
stuck on the first step.
Finally I tried a scanf method. Attached below. I wondered if it break any of your
inputs...It still didn't work. I was thinking of using cout for it though.
Updated by fgfemperor almost 15 years ago
Well, That's the layout I'm also using... SInce we got the same layout and the same
configurations, and mine is working and yours isn't... The only thing left to think is
that Acer messed something up... :p
Still gonna investigate it though...
Updated by tom.mai78101 almost 15 years ago
I couldn't agree more.
However, I have this hunch that it's not Acer's fault.
If I can use =, [, and ' to play C.S. 1.6, then it's not either Microsoft's (DirectX,
IME, input detection), Acer's (keyboard layouts and stuffs), or Valve's fault (The
game itself) at all...
The proof of this hunch is below.
I haven't updated Dolphin to the latest rev, but I don't it affects r4738 at all.