joystick
This commit is contained in:
parent
9a43aa04d9
commit
96ee7bfe2e
2 changed files with 3 additions and 3 deletions
|
@ -19,8 +19,8 @@ func _process(delta):
|
|||
|
||||
func _input(event):
|
||||
# Mouse in viewport coordinates.
|
||||
if event is InputEventMouseButton:
|
||||
print("Mouse Click/Unclick at: ", event.position)
|
||||
if event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_X) || Input.is_joy_button_pressed(0,JOY_BUTTON_Y) || Input.is_joy_button_pressed(0,JOY_BUTTON_A) || Input.is_joy_button_pressed(0,JOY_BUTTON_B) || Input.is_joy_button_pressed(0,JOY_BUTTON_BACK) || Input.is_joy_button_pressed(0,JOY_BUTTON_START) || Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) || Input.is_joy_button_pressed(0,JOY_BUTTON_LEFT_SHOULDER):
|
||||
#print("Mouse Click/Unclick at: ", event.position)
|
||||
_title()
|
||||
|
||||
func _title():
|
||||
|
|
|
@ -27,7 +27,7 @@ architectures/arm64-v8a=true
|
|||
architectures/x86=true
|
||||
architectures/x86_64=true
|
||||
version/code=1
|
||||
version/name="1.0"
|
||||
version/name="0.0.0"
|
||||
package/unique_name="asgardius.page.r3game"
|
||||
package/name=""
|
||||
package/signed=true
|
||||
|
|
Loading…
Reference in a new issue