Skip to content

Commit

Permalink
Removed xgettext binaries, removed logging.
Browse files Browse the repository at this point in the history
Adopted changed from controller patcher
Fixed mouse cursor displaying
Added cooldown for mouse mode switching
  • Loading branch information
Maschell committed Feb 16, 2018
1 parent 0b6b868 commit c9cf99a
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 8 deletions.
Binary file removed gettext-bin/libexpat.dll
Binary file not shown.
Binary file removed gettext-bin/libgettextlib.dll
Binary file not shown.
Binary file removed gettext-bin/libgettextpo.dll
Binary file not shown.
Binary file removed gettext-bin/libgettextsrc.dll
Binary file not shown.
Binary file removed gettext-bin/libiconv2.dll
Binary file not shown.
Binary file removed gettext-bin/libintl3.dll
Binary file not shown.
Binary file removed gettext-bin/msgmerge.exe
Binary file not shown.
Binary file removed gettext-bin/xgettext.exe
Binary file not shown.
8 changes: 1 addition & 7 deletions src/menu/InputGetterMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,7 @@ void InputGetterMenu::GetInputs(CThread *thread, void *arg){
pad_result.vidpid.vid = hiddata[i].device_info.vidpid.vid;
pad_result.vidpid.pid = hiddata[i].device_info.vidpid.pid;
pad_result.active = 1;
pad_result.type = CM_Type_Controller;

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;
}
pad_result.type = hiddata[i].type;

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);
Expand Down
1 change: 0 additions & 1 deletion src/menu/drc/MainWindowContent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ void MainWindowContent::SetScreen(ContentTemplate * new_content){
}

void MainWindowContent::RemoveScreen(){
DEBUG_FUNCTION_LINE("%08X\n",content);
remove(content);
delete content;
content = NULL;
Expand Down

0 comments on commit c9cf99a

Please sign in to comment.