From f44c1a8c20cf781da84af14e0409432b24e69aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20B=C3=B6sel?= Date: Wed, 25 May 2022 10:51:51 +0200 Subject: [PATCH] update docs for pimoroni --- docs/pimoroni_trackball.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/pimoroni_trackball.md b/docs/pimoroni_trackball.md index ce7e2cf..3971afe 100644 --- a/docs/pimoroni_trackball.md +++ b/docs/pimoroni_trackball.md @@ -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 + ```