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

@@ -650,6 +650,8 @@ load_input_devices(void)
}
}
}
tablet_tool_type = !!ini_section_get_int(cat, "tablet_tool_type", 1);
}
/* Load "Sound" section. */
@@ -2287,6 +2289,12 @@ save_input_devices(void)
}
}
if (tablet_tool_type != 1) {
ini_section_set_int(cat, "tablet_tool_type", tablet_tool_type);
} else {
ini_section_delete_var(cat, "tablet_tool_type");
}
ini_delete_section_if_empty(config, cat);
}