forked from zmkfirmware/zmk
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(mouse): Tweak behavior inclusion, listener code
* Always import mouse keys behavior and their associated listeners. * Tweak listener code to only add listener nodes when listener and the associated input device are enabled. feat(mouse): Add mouse move and scroll support [WIP] feat(mouse): Split move/scroll & x/y acceleration fix(mouse): Bump up default mouse tick duration to prevent crashes refactor: Use input system for pointer events. feat(mouse): Add input configs for data mods. * Add ability to swap X/Y, invert X and Y values, and apply a scalar multiplier/divisor. refactor(mouse): Remove mouse work queue, Kconfig * Remove now-unused mouse work queue and related mouse main file. * Move ticks config into a DTS property on the two axis input behavior. fix(mouse): Fixes for logging. * Corrected logging for two-axis input timestamps. refactor: Proper per-device input listeners. * Buffer data from input devices and only surface to HID once synd'd. chore: Minor input behavior clean-up. fix: Testing fixes for listener refactor. refactor(mouse): Lots of mouse refactors. * Dedicated mouse source directory. * Split mouse HID into dedicated USB endpoint and HoG service. * Enable composite USB device automatically, tweak the various default sizes. * Add PTP bits for multitouch. * Handle input events for multiple slots before a sync event triggers a HID report. Cirque gen4 driver commit Commit STP board Board change to 4 fingers Update stp_defconfig Update stp_defconfig Update stp.keymap Form Trackpad work remove work Modify Pete pointer PR Update Kconfig Profile switch single gpio Event driven lighting Change LED colour with prof Swap LEDs Fix mouse mode Impeofed switching Cleanup defconfig test additional hid service Update stp_defconfig Update core-coverage.yml Studio changes studio tweaks Co-Authored-By: Alexander Krikun <[email protected]> Co-Authored-By: Robert U <[email protected]> Co-Authored-By: Shawn Meier <[email protected]>
- Loading branch information
Showing
85 changed files
with
4,418 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM docker.io/zmkfirmware/zmk-dev-arm:3.5 | ||
FROM docker.io/zmkfirmware/zmk-dev-arm:3.5-branch | ||
|
||
COPY .bashrc tmp | ||
RUN mv /tmp/.bashrc ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
config BOARD_ENABLE_DCDC | ||
bool "Enable DCDC mode" | ||
select SOC_DCDC_NRF52X | ||
default y | ||
depends on BOARD_STP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# STP board configuration | ||
|
||
# Copyright (c) 2023 Polarity Works | ||
# SPDX-License-Identifier: MIT | ||
|
||
config BOARD_STP | ||
bool "stp" | ||
depends on SOC_NRF52840_QIAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2021 Polarity Works | ||
# SPDX-License-Identifier: MIT | ||
|
||
if BOARD_STP | ||
|
||
config BOARD | ||
default "stp" | ||
|
||
if USB | ||
|
||
config USB_NRFX | ||
default y | ||
|
||
config USB_DEVICE_STACK | ||
default y | ||
|
||
endif # USB | ||
|
||
config BT_CTLR | ||
default BT | ||
|
||
config ZMK_BLE | ||
default y | ||
|
||
config ZMK_USB | ||
default y | ||
|
||
config ZMK_BATTERY_VOLTAGE_DIVIDER | ||
default y | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "Form" | ||
|
||
endif # BOARD_STP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset") | ||
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright (c) 2022 The ZMK Contributors | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
&pinctrl { | ||
spi3_default: spi3_default { | ||
group1 { | ||
psels = <NRF_PSEL(SPIM_MOSI, 0, 20)>; | ||
}; | ||
}; | ||
|
||
spi3_sleep: spi3_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(SPIM_MOSI, 0, 20)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
pwm0_default: pwm0_default { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 17)>; | ||
}; | ||
}; | ||
pwm0_sleep: pwm0_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 17)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
i2c1_default: i2c1_default { | ||
group1 { | ||
psels = <NRF_PSEL(TWIM_SCL, 0, 6)>, | ||
<NRF_PSEL(TWIM_SDA, 0, 8)>; | ||
}; | ||
}; | ||
|
||
i2c1_sleep: i2c1_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(TWIM_SCL, 0, 6)>, | ||
<NRF_PSEL(TWIM_SDA, 0, 8)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.