Add Wacom SD-510C tablet emulation

This commit is contained in:
Cacodemon345
2023-01-03 15:42:57 +06:00
parent 74eaf6af25
commit 96f7b7aa14
21 changed files with 558 additions and 18 deletions

View File

@@ -1118,6 +1118,8 @@ pc_reset_hard_init(void)
#endif
update_mouse_msg();
ui_hard_reset_completed();
}
void
@@ -1265,7 +1267,7 @@ pc_run(void)
}
if (title_update) {
mouse_msg_idx = (mouse_type == MOUSE_TYPE_NONE) ? 2 : !!mouse_capture;
mouse_msg_idx = (mouse_type == MOUSE_TYPE_NONE || mouse_mode >= 1) ? 2 : !!mouse_capture;
swprintf(temp, sizeof_w(temp), mouse_msg[mouse_msg_idx], fps);
#ifdef __APPLE__
/* Needed due to modifying the UI on the non-main thread is a big no-no. */