git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@33235 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
0f3ff4e34b
commit
7ad851238b
|
@ -1,3 +1,9 @@
|
|||
October 27, 2009 Wei Mingzhi <weimingzhi@gmail.com>
|
||||
|
||||
* plugins/dfinput/xkb.c: Use XkbSetDetectableAutoRepeat() instead of
|
||||
disabling autorepeat globally.
|
||||
* po/zh_CN.po: Updated.
|
||||
|
||||
October 26, 2009 Wei Mingzhi <weimingzhi@gmail.com>
|
||||
|
||||
* plugins/dfinput/cfg.c: Fixed a bug which caused the settings for analog
|
||||
|
|
|
@ -24,14 +24,14 @@ void InitKeyboard() {
|
|||
wmprotocols = XInternAtom(g.Disp, "WM_PROTOCOLS", 0);
|
||||
wmdelwindow = XInternAtom(g.Disp, "WM_DELETE_WINDOW", 0);
|
||||
|
||||
XAutoRepeatOff(g.Disp);
|
||||
XkbSetDetectableAutoRepeat(g.Disp, 1, NULL);
|
||||
|
||||
g.PadState[0].KeyStatus = 0xFFFF;
|
||||
g.PadState[1].KeyStatus = 0xFFFF;
|
||||
}
|
||||
|
||||
void DestroyKeyboard() {
|
||||
XAutoRepeatOn(g.Disp);
|
||||
XkbSetDetectableAutoRepeat(g.Disp, 0, NULL);
|
||||
}
|
||||
|
||||
void CheckKeyboard() {
|
||||
|
@ -83,15 +83,6 @@ void CheckKeyboard() {
|
|||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
case FocusOut:
|
||||
XAutoRepeatOn(g.Disp);
|
||||
break;
|
||||
|
||||
case FocusIn:
|
||||
XAutoRepeatOff(g.Disp);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
10
po/zh_CN.po
10
po/zh_CN.po
|
@ -8,7 +8,7 @@ msgstr ""
|
|||
"Project-Id-Version: pcsxr 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2009-10-25 21:49+0800\n"
|
||||
"PO-Revision-Date: 2009-10-25 21:55+0700\n"
|
||||
"PO-Revision-Date: 2009-10-27 17:17+0700\n"
|
||||
"Last-Translator: Wei Mingzhi <whistler@openoffice.org>\n"
|
||||
"Language-Team: Simplified Chinese <whistler@openoffice.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -2701,19 +2701,19 @@ msgstr "开始键"
|
|||
|
||||
#: ../plugins/dfinput/cfg-gtk2.c:67
|
||||
msgid "L-Stick X"
|
||||
msgstr "左旋钮 X"
|
||||
msgstr "左摇杆 X"
|
||||
|
||||
#: ../plugins/dfinput/cfg-gtk2.c:68
|
||||
msgid "L-Stick Y"
|
||||
msgstr "左旋钮 Y"
|
||||
msgstr "左摇杆 Y"
|
||||
|
||||
#: ../plugins/dfinput/cfg-gtk2.c:69
|
||||
msgid "R-Stick X"
|
||||
msgstr "右旋钮 X"
|
||||
msgstr "右摇杆 X"
|
||||
|
||||
#: ../plugins/dfinput/cfg-gtk2.c:70
|
||||
msgid "R-Stick Y"
|
||||
msgstr "右旋钮 Y"
|
||||
msgstr "右摇杆 Y"
|
||||
|
||||
#: ../plugins/dfinput/cfg-gtk2.c:98
|
||||
msgid "Centered"
|
||||
|
|
Loading…
Reference in New Issue
Block a user