Skip to content

Commit

Permalink
lilypad: remove debug printf
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory38 committed Feb 20, 2015
1 parent 13bb1ae commit 8350dc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions plugins/LilyPad/Linux/KeyboardMouse.cpp
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion plugins/LilyPad/Linux/KeyboardQueue.cpp
Expand Up @@ -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

0 comments on commit 8350dc2

Please sign in to comment.