Skip to content

Examples: touch calibration, palettes and pdwidgets examples, from pydevices-examples - #307

Merged
bdbarnett merged 2 commits into
mainfrom
examples/split
Oct 28, 2026
Merged

bdbarnett merged 2 commits into
mainfrom
examples/split

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Three examples move here from pydevices-examples, which removes them in a matching PR:

  • examples/appdev_touch_calibrate.py (was appdev_touch_test.py) walks you through touching four corners at each rotation and prints the touch_rotation_table a board_config needs.
  • palettes/examples/palettes_demo.py shows the wheel, cube and Material Design palettes.
  • pdwidgets/examples/joystick_list_select.py moves a list's highlight with a joystick or D-pad.

Only docstrings and a comment changed. Each ran once on CPython 3.12 in an SDL window; the touch calibration ran as far as drawing its first corner's box, since finishing it takes someone touching the screen.

@bdbarnett

Copy link
Copy Markdown
Contributor Author

Removed from pydevices-examples in PyDevices/pydevices-examples#249.

@bdbarnett
bdbarnett merged commit ec8e796 into main Oct 28, 2026
6 checks passed
@bdbarnett
bdbarnett deleted the examples/split branch October 28, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant