apps/piano: refactoring and improvement #302

Merged
mxlgv merged 7 commits from rewrite-piano into main 2026-03-07 20:10:52 +00:00

7 Commits

Author SHA1 Message Date
2a5f73351b apps/piano: fix to previous
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 57s
Build system / Build (pull_request) Successful in 10m26s
2026-03-07 19:51:09 +00:00
d603bbe3d9 apps/piano: fix CWD path, refactor code 2026-03-07 19:51:09 +00:00
bdd6c71734 apps/piano: cleanup to previous 2026-03-07 19:51:09 +00:00
38b47500ce apps/piano: tweak copyright header
Co-authored-by: Doczom <mixa.frolov2003@gmail.com>
Co-authored-by: qullarwee
2026-03-07 19:51:09 +00:00
cb27e64b63 apps/piano: add keymap configuration via separate binary file 2026-03-07 19:51:09 +00:00
498ec0d276 apps/piano: refactoring, part 2
- Fixed bugs in keys and buttons reading and audio play
- Refactored data tables and removed loops
- Used more constants for everything
- Changes Spanish encoding to CP850
- Shifted notes on keys by -0x10 to match buttons
- Configured events mask for help thread
- Shift now works for buttons also
- Help window have relative coordinates from main window
- Maybe something else that I already forgot

Co-authored-by: Doczom <mixa.frolov2003@gmail.com>
2026-03-07 19:51:09 +00:00
39cd149625 Piano refacoring, part 1 2026-03-07 19:51:09 +00:00