Project

General

Profile

Actions

Emulator Issues #1635

closed

Dolphin PadSimple Plugin is not getting inputs from three keyboard keys

Added by tom.mai78101 almost 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Run Dolphin.
  2. Click on Pad Settings
  3. 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.

Actions #1

Updated by tom.mai78101 almost 15 years ago

Additional Info: Pressing = key fails to map correctly.

Actions #2

Updated by the.emeralddragonfly almost 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.

Actions #3

Updated by luisr142004 almost 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)

Actions #4

Updated by tom.mai78101 almost 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...

Actions #5

Updated by tom.mai78101 almost 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.

Actions #6

Updated by Anonymous almost 15 years ago

what keyboard maps/languages do the people with the problem have?

Actions #7

Updated by tom.mai78101 almost 15 years ago

English. Keyboard: QWERTY version.

Don't understand your question clearly, sir.

Actions #8

Updated by the.emeralddragonfly almost 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.

Actions #9

Updated by tom.mai78101 almost 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.

Actions #10

Updated by fgfemperor almost 15 years ago

Gonna take a look at that! =)

Actions #11

Updated by fgfemperor almost 15 years ago

I can't reproduce that on r4735 ...
Does anyone still have this issue on r4735 ?

Actions #12

Updated by hrydgard almost 15 years ago

  • Status changed from Accepted to Fixed
Actions #13

Updated by tom.mai78101 almost 15 years ago

Why is it fixed? Is it, truly, just me and my recently new laptop's fault?

:(

Actions #14

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

Actions #15

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?

Actions #16

Updated by fgfemperor almost 15 years ago

Also, are you using r4735 ?

Actions #17

Updated by tom.mai78101 almost 15 years ago

Ugh...didn't see that rev. Will check.

Actions #18

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.

Actions #19

Updated by tom.mai78101 almost 15 years ago

And yes, I'm using r4735.

Actions #20

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.

Actions #21

Updated by fgfemperor almost 15 years ago

Can you try this patch?

Actions #22

Updated by tom.mai78101 almost 15 years ago

That didn't work out well. :(

Actions #23

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

Actions #24

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.

Actions #25

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...

Actions #26

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.

Actions

Also available in: Atom PDF