Skip to content

Commit

Permalink
Update pimoroni_trackball.md
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage committed Jul 31, 2024
1 parent eaeddd3 commit d5ad0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/pimoroni_trackball.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ trackball = Trackball(
# act like an encoder, input arrow keys, enter when pressed
KeyHandler(KC.UP, KC.RIGHT, KC.DOWN, KC.LEFT, KC.ENTER),
# on layer 1 and above use the default pointing behavior, left click when pressed
PointingHandler(press=KC.MB_LMB),
PointingHandler(on_press=KC.MB_LMB),
# use ScrollDirection.NATURAL (default) or REVERSE to change the scrolling direction, left click when pressed
ScrollHandler(scroll_direction=ScrollDirection.NATURAL, press=KC.MB_LMB)
ScrollHandler(scroll_direction=ScrollDirection.NATURAL, on_press=KC.MB_LMB)
]
)

Expand Down

0 comments on commit d5ad0cf

Please sign in to comment.