diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-12-04 06:43:30 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-12-04 06:43:30 +0000 |
| commit | 41e7b60e2e6397c4f8ae91495eb74728b6f562c7 (patch) | |
| tree | 5eef9e1efca8afd3db7de140aee70bbbe731e5f6 /plugins/dfinput/xkb.c | |
| parent | aca57a03bd7fdb0e23ea4f6d979dfe7008648195 (diff) | |
| download | pcsxr-41e7b60e2e6397c4f8ae91495eb74728b6f562c7.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38792 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput/xkb.c')
| -rw-r--r-- | plugins/dfinput/xkb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfinput/xkb.c b/plugins/dfinput/xkb.c index 4ac6f868..bfadef10 100644 --- a/plugins/dfinput/xkb.c +++ b/plugins/dfinput/xkb.c @@ -54,7 +54,7 @@ void CheckKeyboard() { } } } - if (!found) { + if (!found && !AnalogKeyPressed(Key)) { g.KeyLeftOver = Key; } return; @@ -70,7 +70,7 @@ void CheckKeyboard() { } } } - if (!found) { + if (!found && !AnalogKeyReleased(Key)) { g.KeyLeftOver = ((long)Key | 0x40000000); } break; |
