Skip to content

Gui/controller #2566

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

Open
wants to merge 40 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
538c9d5
gui:controller support draft
eruvanos Feb 6, 2025
fe0254a
experimental controller support incl inventory example
eruvanos Feb 14, 2025
1e96b4e
more robust controller connection handling, just in case
eruvanos Mar 7, 2025
a81ca2b
fix lib imports and extract UIFocusMixin from UIFocusGroup
eruvanos Mar 7, 2025
818c5ad
make UIDropDown support controller
eruvanos Mar 7, 2025
7489e4c
wip slider support
eruvanos Mar 7, 2025
91ec397
UISlider dispatch on_change when changed via dpad, this is only a wor…
eruvanos Mar 7, 2025
500d240
reset focus when out of range
eruvanos Mar 7, 2025
4711cf5
controller example listen to slider changes
eruvanos Mar 7, 2025
9eaa542
fix focus out of range
eruvanos Mar 7, 2025
7dc467d
Add UIFocusMixin do_post_render None widget handling (#2605)
csd4ni3l Mar 8, 2025
8db8913
adding more workarounds to handle scrollarea setups, set focused on w…
eruvanos Mar 8, 2025
3107eaa
introduce ControllerWindow, UIManager accepts controller input from w…
eruvanos Mar 8, 2025
895c8b7
Add missing file
eruvanos Mar 9, 2025
adfa0ab
Fix a bug where there are less widgets than focus index
eruvanos Mar 9, 2025
bab1b29
fix tests and type hints
eruvanos Mar 9, 2025
06fdf14
add missing resources
eruvanos Mar 9, 2025
a2dab0c
Add method to access connected controllers
eruvanos Mar 25, 2025
4b32537
fix linter
eruvanos Mar 28, 2025
782c652
Merge remote-tracking branch 'refs/remotes/origin/development' into g…
eruvanos Mar 28, 2025
be976c4
fix linter
eruvanos Mar 28, 2025
aac8c70
Merge branch 'development' into gui/controller
eruvanos Mar 29, 2025
0dc37b4
add ControllerView and dispatch on_connect/disconnect events
eruvanos Mar 29, 2025
32bb18a
Merge branch 'development' into gui/controller
eruvanos Apr 3, 2025
73970b0
Merge branch 'development' into gui/controller
eruvanos Apr 3, 2025
7f7fe95
update pre-commit hooks
eruvanos Apr 8, 2025
66fef22
gui: replace experimental UIControllerBridge with experimental Contro…
eruvanos Apr 8, 2025
22b130d
gui: fix example
eruvanos Apr 11, 2025
0ff3790
Merge remote-tracking branch 'origin/development' into gui/controller
eruvanos Apr 11, 2025
2e455be
gui: fix exp_inventory_demo.py
eruvanos Apr 11, 2025
23bcfc2
gui: fix formating
eruvanos Apr 15, 2025
4a3621a
fix line length test raises on >=100 instead >100
eruvanos Apr 15, 2025
5e7b63a
gui: controller support
eruvanos Apr 19, 2025
86c8c98
gui: controller support
eruvanos Apr 19, 2025
1521df6
fix example
eruvanos Apr 19, 2025
b9bc901
sort imports
eruvanos Apr 19, 2025
f8bb36b
gui: rename Focusable, add documentation about controller support
eruvanos Apr 26, 2025
40aff3c
Merge branch 'development' into gui/controller
eruvanos Apr 26, 2025
869cc30
Merge remote-tracking branch 'origin/development' into gui/controller
eruvanos Apr 26, 2025
ed17c93
changelog: add experimental controller support with documentation
eruvanos Apr 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.10
# Ruff version.
rev: v0.11.4
hooks:
# Run the linter.
- id: ruff
Expand All @@ -21,7 +22,11 @@ repos:
hooks:
- id: mypy
args: [ --explicit-package-bases ]
language: system
exclude: ^tests/
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.396
hooks:
- id: pyright
language: system
exclude: ^tests/
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Arcade [PyPi Release History](https://pypi.org/project/arcade/#history) page.
- GUI
- Fix `UIScrollArea.add` always returning None
- Support `layer` in `UIView.add_widget()`
- Experimental controller support (incl. documentation)
- Text objects are now lazy and can be created before the window

## Version 3.1.0
Expand Down
Loading
Loading