1 #ifndef UGDK_INPUT_EVENTS_H_
2 #define UGDK_INPUT_EVENTS_H_
24 : keycode(_keycode), scancode(_scancode), modifiers(_modifiers) {}
33 : keycode(_keycode), scancode(_scancode), modifiers(_modifiers) {}
42 : keycode(_keycode), scancode(_scancode), modifiers(_modifiers) {}
61 std::weak_ptr<desktop::Window>
window;
65 const std::weak_ptr<desktop::Window>& _window)
76 : position(_position), button(_button) {}
83 : position(_position), button(_button) {}
103 : joystick(_joystick) {}
113 : joystick(_joystick)
115 , axis_status(status) {}
126 : joystick(_joystick)
128 , ball_status(dx, dy) {}
138 : joystick(_joystick)
140 , hat_status(status) {}
148 : joystick(_joystick)
157 : joystick(_joystick)
164 #endif // UGDK_INPUT_EVENTS_H_
Definition: textinput.h:12
Definition: integer2D.h:20
TextEditingEvent & operator=(const TextEditingEvent &)=delete
Definition: animation.h:11
std::string text
Definition: events.h:53
TextEditingEvent(const TextInput &i)
Definition: events.h:48
const TextInput & input
Definition: events.h:46
int16_t int16
Definition: types.h:17
TextInputEvent(const char *_text)
Definition: events.h:55