summaryrefslogtreecommitdiffstats
path: root/core/os/input_event.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2017-12-26 09:48:50 -0300
committerJuan Linietsky <juan@godotengine.org>2017-12-26 09:49:31 -0300
commit4a2eef4ad801a3dc5c07a575e59b8f1eafa42c6e (patch)
tree599bdfadc50bc5526d18633891bc86529b60ec6f /core/os/input_event.h
parent37aab45091961e7c063e9c77d6c4835b0c14806a (diff)
downloadredot-engine-4a2eef4ad801a3dc5c07a575e59b8f1eafa42c6e.tar.gz
Removed the InputEvent ID field, which was unused and can cause bugs.
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 614a3289ba..9b1a2736b1 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -144,16 +144,12 @@ enum JoystickList {
class InputEvent : public Resource {
GDCLASS(InputEvent, Resource)
- uint32_t id;
int device;
protected:
static void _bind_methods();
public:
- void set_id(uint32_t p_id);
- uint32_t get_id() const;
-
void set_device(int p_device);
int get_device() const;