From 96ee7bfe2e233cd3f6ee54611911216fc605a252 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Wed, 9 Aug 2023 11:42:51 -0700 Subject: [PATCH] joystick --- bootclick.gd | 4 ++-- export_presets.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootclick.gd b/bootclick.gd index f14eea0..5772473 100644 --- a/bootclick.gd +++ b/bootclick.gd @@ -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(): diff --git a/export_presets.cfg b/export_presets.cfg index ff712aa..1341bb6 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -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