Skip to content

Changes to support tap layer.#7

Merged
l4u merged 2 commits intobeekeeb:mainfrom
geeksville:pr-touch-mode
Mar 2, 2026
Merged

Changes to support tap layer.#7
l4u merged 2 commits intobeekeeb:mainfrom
geeksville:pr-touch-mode

Conversation

@geeksville
Copy link
Contributor

@geeksville geeksville commented Jan 25, 2026

Hi Leo,

Here's my changes to to support a 'touch' layer that activates only when there is a finger physically touching the trackpad. I'm not sure if you'll want these changes because they slightly change the usage described in your slick preprinted keyboard layout cards. But see the attached keymap and decide (I added a' tap' layer that just reuses the right thumb buttons as mouse buttons).

  • Add a 'tap' layer that activates only when there is a finger physically touching the trackpad (uses new cirq driver code)
  • Fix a stack overflow error when using input behaviors in zmk 0.3. See config files for link to bug.
  • Change touchpad from x2 to x3 sensitivity - imo x2 felt too jumpy in actual usage on Toucan.
  • Turn on zmk-studio via the config file

If you'd like to try a prebuilt binary you can use: https://github.com/geeksville/zmk-keyboard-toucan/actions/runs/21333274372

Though in practice I'm really only using 'my' normal keyboard config here: https://github.com/geeksville/zmk-urob-geeksville/actions

Thanks for making this great keyboard! I'll now return to happily just using it to make other code.

* Add a 'tap' layer that activates only when there is a finger physically touching the trackpad (uses new cirq driver code)
* Fix a stack overflow error when using input behaviors in zmk 0.3.  See config files for link to bug.
* Change touchpad from x2 to x3 sensitivity - imo x2 felt too jumpy in actual usage on Toucan.
* Turn on zmk-studio via the config file
@geeksville geeksville marked this pull request as draft January 26, 2026 07:00
takumibaya pushed a commit to takumibaya/zmk-keyboard-toucan that referenced this pull request Jan 28, 2026
- Add CONFIG_INPUT_THREAD_STACK_SIZE=2048 to prevent crashes
- Add touch_processor behavior to activate layer 4 on trackpad touch
- Update cirque-input-module to petejohanson/main for BTN_TOUCH support
- Based on PR beekeeb#7 from beekeeb/zmk-keyboard-toucan
@geeksville geeksville marked this pull request as ready for review January 29, 2026 01:20
@l4u
Copy link
Member

l4u commented Jan 31, 2026

Thank you again @geeksville !
For the repo geeksville/cirque-input-module, do you think we can merge the main branch into the toucan branch please?

@geeksville
Copy link
Contributor Author

sure - no problem. I'll do that later day.

@geeksville
Copy link
Contributor Author

ok done!

@ml653
Copy link

ml653 commented Feb 9, 2026

This layer is great!

0014ikki pushed a commit to 0014ikki/zmk-keyboard-toucan that referenced this pull request Feb 9, 2026
- Add tap layer that activates only when finger touches trackpad
- Fix stack overflow error with CONFIG_INPUT_THREAD_STACK_SIZE=2048
- Change trackpad sensitivity from x2 to x3
- Enable ZMK Studio support
- Update cirque-input-module to petejohanson/main for BTN_TOUCH support
0014ikki pushed a commit to 0014ikki/zmk-keyboard-toucan that referenced this pull request Feb 9, 2026
- Move touch_processor to toucan.dtsi with correct zmk,input-processor-behaviors
- Use &mo 4 instead of &tog for momentary layer activation
- Add y-invert and abs-rel-divisor to trackpad config
- Add smooth scrolling support
- Fix keymap structure to match original PR
- Add ZMK Studio reserved layers
@l4u l4u merged commit e35f32a into beekeeb:main Mar 2, 2026
5 checks passed
l4u added a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants