Skip to content

refactor(hotkeygen): make hotkeygen into a proper python package#15382

Open
bryanforbes wants to merge 1 commit intobatocera-linux:masterfrom
bryanforbes:refactor/clean-up-hotkeygen
Open

refactor(hotkeygen): make hotkeygen into a proper python package#15382
bryanforbes wants to merge 1 commit intobatocera-linux:masterfrom
bryanforbes:refactor/clean-up-hotkeygen

Conversation

@bryanforbes
Copy link
Contributor

Move hotkeygen from package/batocera/utils into python-src as a structured Python package with pyproject.toml and proper entry points.

Key changes:

  • Extract shared constants (paths, ECODES_NAMES) into shared.py
  • Add type hints, TypedDicts, and dataclasses throughout
  • Replace cast() workarounds with parameterized generic types
  • Update hotkeygen.mk to install the new package structure

Move hotkeygen from package/batocera/utils into python-src as a
structured Python package with pyproject.toml and proper entry
points.

Key changes:
- Extract shared constants (paths, ECODES_NAMES) into shared.py
- Add type hints, TypedDicts, and dataclasses throughout
- Replace cast() workarounds with parameterized generic types
- Update hotkeygen.mk to install the new package structure
@dmanlfc dmanlfc added the 44 label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants