Update Pimoroni Trackball doc
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
This commit is contained in:
parent
3d80e4aba8
commit
d9b0c9100c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user