Removed xgettext binaries, removed logging.

Adopted changed from controller patcher
Fixed mouse cursor displaying
Added cooldown for mouse mode switching
This commit is contained in:
Maschell 2018-02-16 19:01:13 +01:00
parent 0b6b8683c2
commit c9cf99a57b
10 changed files with 1 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -131,13 +131,7 @@ void InputGetterMenu::GetInputs(CThread *thread, void *arg){
pad_result.vidpid.vid = hiddata[i].device_info.vidpid.vid; pad_result.vidpid.vid = hiddata[i].device_info.vidpid.vid;
pad_result.vidpid.pid = hiddata[i].device_info.vidpid.pid; pad_result.vidpid.pid = hiddata[i].device_info.vidpid.pid;
pad_result.active = 1; pad_result.active = 1;
pad_result.type = CM_Type_Controller; pad_result.type = hiddata[i].type;
if(pad_result.vidpid.vid == HID_KEYBOARD_VID && pad_result.vidpid.pid == HID_KEYBOARD_PID){
pad_result.type = CM_Type_Keyboard;
}else if(pad_result.vidpid.vid == HID_MOUSE_VID && pad_result.vidpid.pid == HID_MOUSE_PID){
pad_result.type = CM_Type_Mouse;
}
gotPress = 1; gotPress = 1;
log_printf("%04X %04X (PAD: %d) pressed a buttons %08X\n",hiddata[i].device_info.vidpid.vid,hiddata[i].device_info.vidpid.pid,j,hiddata[i].button_data[j].btn_h); log_printf("%04X %04X (PAD: %d) pressed a buttons %08X\n",hiddata[i].device_info.vidpid.vid,hiddata[i].device_info.vidpid.pid,j,hiddata[i].button_data[j].btn_h);

View File

@ -87,7 +87,6 @@ void MainWindowContent::SetScreen(ContentTemplate * new_content){
} }
void MainWindowContent::RemoveScreen(){ void MainWindowContent::RemoveScreen(){
DEBUG_FUNCTION_LINE("%08X\n",content);
remove(content); remove(content);
delete content; delete content;
content = NULL; content = NULL;