summaryrefslogtreecommitdiff
path: root/servers/display_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-18 20:36:46 +0100
committerGitHub <noreply@github.com>2021-02-18 20:36:46 +0100
commit247b7e24483931e978f0c203030b5135109655cc (patch)
tree930c25b13032f8d75425ec06b165099c0c8c0f4b /servers/display_server.h
parent310496a89f583b49217915b9add165d51aea575e (diff)
parent3e0262509f394ad174d8abe0742a6a6b66b0b16a (diff)
Merge pull request #46131 from bruvzg/move_tablet_to_ds
Move tablet driver API from OS to DisplayServer
Diffstat (limited to 'servers/display_server.h')
-rw-r--r--servers/display_server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h
index 59f59531ec..3aab572120 100644
--- a/servers/display_server.h
+++ b/servers/display_server.h
@@ -340,6 +340,11 @@ public:
virtual String keyboard_get_layout_language(int p_index) const;
virtual String keyboard_get_layout_name(int p_index) const;
+ virtual int tablet_get_driver_count() const { return 1; };
+ virtual String tablet_get_driver_name(int p_driver) const { return "default"; };
+ virtual String tablet_get_current_driver() const { return "default"; };
+ virtual void tablet_set_current_driver(const String &p_driver){};
+
virtual void process_events() = 0;
virtual void force_process_and_drop_events();