mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-27 16:54:14 +01:00
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:
parent
0b6b8683c2
commit
c9cf99a57b
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.
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user