fix reading js events, debug_mesg as variadic macro

This commit is contained in:
Mathias Panzenböck
2014-02-16 05:09:42 +01:00
parent cfa17f8947
commit 12b374e422
8 changed files with 28 additions and 45 deletions

View File

@ -24,7 +24,7 @@ void QuickSet::jsevent(const js_event &msg ) {
if (setting) return;
//if a button was pressed on the joystick
qulonglong type = msg.type & ~JS_EVENT_INIT;
unsigned int type = msg.type & ~JS_EVENT_INIT;
if (type == JS_EVENT_BUTTON) {
//capture that button.
Button* button = joypad->buttons[msg.number];