Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update controller code for key detection and add setting for controller enablement #588

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Nov 19, 2023

This depends on #587
A setting for controller enablement is added, with a default value of disabled. It detects controller configurations now if and only if it is enabled. It now automatically searches for another controller plugged (and selects the first result) when the using one is no longer plugged. It is currently impossible to provide an ability to specify a controller connected because of the limitations of the currently using library.
The code for key status is also updated, and it is now using the similar mechanism to keyboard key input detections.
Controller status is added with the help of the addition of #587, 2 status, controller availability and input method, as shown in the demo below.

# Conflicts:
#	src/client/java/minicraft/item/FishingRodItem.java
#	src/client/java/minicraft/item/SummonItem.java
#	src/client/java/minicraft/screen/AchievementsDisplay.java
@BenCheung0422 BenCheung0422 marked this pull request as draft February 9, 2024 11:58
@BenCheung0422
Copy link
Member Author

New status information for both controller availability and input method, added with the help of the addition of the status bar from #587.

Minicraft.Plus.2024-02-10.01-12-22.mp4

@BenCheung0422 BenCheung0422 added the UX/QoL Issue related to user experience or quality of life. label Aug 28, 2024
@BenCheung0422 BenCheung0422 added Code Quality Issue related to code quality/coding standard. Controls Issue related to user controls. User awareness Issue related to awareness from user about certain circumference. UI/Menus Issue related to (G)UI or menus/displays. Blocked Requires fixing another issue before this one. labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Requires fixing another issue before this one. Code Quality Issue related to code quality/coding standard. Controls Issue related to user controls. UI/Menus Issue related to (G)UI or menus/displays. User awareness Issue related to awareness from user about certain circumference. UX/QoL Issue related to user experience or quality of life.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants