You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Use mouse and joypad enums instead of plain integers
Also MIDIMessage
This commit is contained in:
@@ -148,8 +148,8 @@ Point2i DisplayServer::mouse_get_position() const {
|
||||
ERR_FAIL_V_MSG(Point2i(), "Mouse is not supported by this display server.");
|
||||
}
|
||||
|
||||
int DisplayServer::mouse_get_button_state() const {
|
||||
ERR_FAIL_V_MSG(0, "Mouse is not supported by this display server.");
|
||||
MouseButton DisplayServer::mouse_get_button_state() const {
|
||||
ERR_FAIL_V_MSG(MOUSE_BUTTON_NONE, "Mouse is not supported by this display server.");
|
||||
}
|
||||
|
||||
void DisplayServer::clipboard_set(const String &p_text) {
|
||||
|
||||
Reference in New Issue
Block a user