From 41e7b60e2e6397c4f8ae91495eb74728b6f562c7 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Fri, 4 Dec 2009 06:43:30 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38792 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/xkb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput/xkb.c') 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; -- cgit v1.2.3