Update Pimoroni Trackball doc

Signed-off-by: Salvatore La Bua <slabua@gmail.com>
This commit is contained in:
Salvatore La Bua 2022-07-31 02:11:52 +09:00 committed by xs5871
parent 3d80e4aba8
commit d9b0c9100c

View File

@ -33,7 +33,7 @@ trackball = Trackball(i2c, mode=TrackballMode.MOUSE_MODE, handlers=[
# on layer 1 and above use the default pointing behavior
PointingHandler(),
# use ScrollDirection.NATURAL (default) or REVERSE to change the scrolling direction
ScrollHandler(scrolling=ScrollDirection.NATURAL)
ScrollHandler(scroll_direction=ScrollDirection.NATURAL)
])
# now you can use these KeyCodes: