mirror of https://github.com/PCSX2/pcsx2.git
lilypad: remove debug printf
This commit is contained in:
parent
13bb1ae028
commit
8350dc2c68
|
@ -23,7 +23,6 @@
|
|||
LinuxKeyboard::LinuxKeyboard() :
|
||||
Device(LNX_KEYBOARD, KEYBOARD, L"displayName", L"instanceID", L"deviceID")
|
||||
{
|
||||
fprintf(stderr, "Create a new device YES\n");
|
||||
for (int i=0; i<MAX_KEYCODE; i++) {
|
||||
AddPhysicalControl(PSHBTN, i, i);
|
||||
}
|
||||
|
@ -57,17 +56,15 @@ int LinuxKeyboard::Update() {
|
|||
while (R_GetQueuedKeyEvent(&event)) {
|
||||
switch (event.evt) {
|
||||
case KeyPress:
|
||||
fprintf(stderr, "key pressed %x\n", event.key);
|
||||
physicalControlState[MAX_KEYCODE & event.key] = FULLY_DOWN;
|
||||
status = 1;
|
||||
break;
|
||||
case KeyRelease:
|
||||
fprintf(stderr, "key released %x\n", event.key);
|
||||
physicalControlState[MAX_KEYCODE & event.key] = 0;
|
||||
status = 1;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "Unsupported event %x\n", event.evt);
|
||||
//fprintf(stderr, "Unsupported event %x\n", event.evt);
|
||||
//assert(0);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -56,7 +56,6 @@ void R_ClearKeyQueue() {
|
|||
|
||||
EXPORT_C_(void) PADWriteEvent(keyEvent &evt)
|
||||
{
|
||||
//fprintf(stderr, "Received evt:%x key:%x\n", evt.evt, evt.key);
|
||||
R_QueueKeyEvent(evt);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue