update docs for pimoroni

This commit is contained in:
Björn Bösel 2022-05-25 10:51:51 +02:00 committed by Kyle Brown
parent a58293600d
commit f44c1a8c20

View File

@ -34,6 +34,13 @@ trackball = Trackball(i2c, mode=TrackballMode.MOUSE_MODE, handlers=[
# on layer 1 and above use the default pointing behavior
PointingHandler()
])
# now you can use these KeyCodes:
KC.TB_NEXT_HANDLER # rotates through available
KC.TB_HANDLER(0) # activate KeyHandler
KC.TB_HANDLER(1) # activate MouseHandler
```