Skip to content

Commit

Permalink
Update trackpad.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Feb 28, 2024
1 parent 8797042 commit 897b3d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/trackpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ static void zmk_trackpad_tick(struct k_work *work) {
LOG_DBG("total contacts: %d, received contacts: %d, bitmap contacts %d", present_contacts,
received_contacts, contacts_to_send);

zmk_hid_ptp_set((contacts_to_send && BIT(0)) ? fingers[0] : empty_finger, empty_finger,
zmk_hid_ptp_set((contacts_to_send && BIT(0)) ? fingers[0] : empty_finger,
(contacts_to_send && BIT(1)) ? fingers[1] : empty_finger,
(contacts_to_send && BIT(2)) ? fingers[2] : empty_finger,
(contacts_to_send && BIT(3)) ? fingers[3] : empty_finger,
(contacts_to_send && BIT(4)) ? fingers[4] : empty_finger, present_contacts,
Expand Down

0 comments on commit 897b3d3

Please sign in to comment.