mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Update copyright statements to 2020
And apply clang-format 10 to the codebase.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2019 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2019 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "input_event.h"
|
||||
#include "input_map.h"
|
||||
#include "os/keyboard.h"
|
||||
@@ -210,7 +211,8 @@ bool InputEvent::is_pressed() const {
|
||||
case SCREEN_TOUCH: return screen_touch.pressed;
|
||||
case JOYSTICK_MOTION: return ABS(joy_motion.axis_value) > 0.5;
|
||||
case ACTION: return action.pressed;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user