diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-05-19 23:34:26 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-05-20 09:37:32 +0300 |
commit | d0b5174b6a0e2eb8c8016b46d2e001b79d79b2ae (patch) | |
tree | cddbef79d0b9f1dc48d7967cd78e6f7d1a156a18 /core/os | |
parent | cba1f492cc300bf5686f8ccd7f743bc37635fa54 (diff) |
[Windows] Add tablet driver selection.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/os/os.h b/core/os/os.h index 9296e17bb2..9ca034a01c 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -58,7 +58,6 @@ class OS { bool _allow_layered = false; bool _use_vsync; bool _vsync_via_compositor; - bool _disable_wintab; char *last_error; @@ -148,7 +147,11 @@ public: bool is_layered_allowed() const { return _allow_layered; } bool is_hidpi_allowed() const { return _allow_hidpi; } - bool is_wintab_disabled() const { return _disable_wintab; } + + virtual int get_tablet_driver_count() const { return 0; }; + virtual String get_tablet_driver_name(int p_driver) const { return ""; }; + virtual String get_current_tablet_driver() const { return ""; }; + virtual void set_current_tablet_driver(const String &p_driver){}; void ensure_user_data_dir(); |