Skip to content

Commit

Permalink
Enable debugging for PMW3360 driver
Browse files Browse the repository at this point in the history
  • Loading branch information
trentrand committed May 18, 2024
1 parent 603e261 commit 781c5a0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_SPI=y
CONFIG_INPUT=y
CONFIG_ZMK_MOUSE=y
CONFIG_PMW3360=y
CONFIG_PMW3360_LOG_LEVEL_INF=y
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
trackball: trackball@0 {
status = "okay";
compatible = "pixart,pmw3360";
reg = <0x0>;
reg = <0>;
spi-max-frequency = <2000000>;
irq-gpios = <&gpio0 17 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
cpi = <1600>;
Expand Down
6 changes: 5 additions & 1 deletion config/dactyl_manuform_5x7.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
CONFIG_ZMK_BEHAVIORS_QUEUE_SIZE=512

CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=2000

CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_PM=y
6 changes: 3 additions & 3 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ manifest:
- name: pmw3360-driver
url-base: https://github.com/trentrand
projects:
- name: zmk-pmw3360-driver
remote: pmw3360-driver
revision: main
- name: zmk
remote: zmkfirmware
revision: feat/pointers-move-scroll
import: app/west.yml
- name: zmk-pmw3360-driver
remote: pmw3360-driver
revision: main
self:
path: config

0 comments on commit 781c5a0

Please sign in to comment.