summaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2016-07-05 14:07:46 +0200
committerAndreas Haas <liu.gam3@gmail.com>2016-07-05 14:08:02 +0200
commit45cfd199a46a6fdffb48cd367c69a336eb79590b (patch)
treea629154177841054cf8465180d5312e1a7461a37 /core/os/input.h
parent716dfa67a3c5a0a38205179c01676e05a718d244 (diff)
Input: add get_connected_joysticks() method.
fixes #5465
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input.h b/core/os/input.h
index fa2cef5467..d11703470b 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -62,6 +62,7 @@ public:
virtual float get_joy_axis(int p_device,int p_axis)=0;
virtual String get_joy_name(int p_idx)=0;
+ virtual Array get_connected_joysticks()=0;
virtual void joy_connection_changed(int p_idx, bool p_connected, String p_name, String p_guid)=0;
virtual void add_joy_mapping(String p_mapping, bool p_update_existing=false)=0;
virtual void remove_joy_mapping(String p_guid)=0;