Skip to content

Changes to support tap layer. - #7

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

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

Conversation

@geeksville

@geeksville geeksville commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

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

l4u commented Jan 31, 2026

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor Author

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

@geeksville

Copy link
Copy Markdown
Contributor Author

ok done!

@ml653

ml653 commented Feb 9, 2026

Copy link
Copy Markdown

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
Comment thread config/west.yml Outdated
@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
rayreside pushed a commit to rayreside/zmk-keyboard-toucan that referenced this pull request Apr 23, 2026
…splay-N0vCB

Fix toucan_pet sleep display: add missing sources and rename listener
SiebenCorgie pushed a commit to SiebenCorgie/zmk-keyboard-toucan that referenced this pull request May 2, 2026
* Changes to support tap layer.

* 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

* Update config/west.yml

---------

Co-authored-by: Leo Lou <louyuhong@gmail.com>
SiebenCorgie pushed a commit to SiebenCorgie/zmk-keyboard-toucan that referenced this pull request May 2, 2026
@allergicapple

Copy link
Copy Markdown

Interesting.
I am currently looking for an upgrade to the Piantor and found out about the Toucan.
Then I found out someone made a tap/touch layer, which I think is a great idea to get over the not-multitouch-capable bump of the trackpad.
Now I see the pr has been reverted - without any reasons given.

Anyone care to explain?

name-snrl added a commit to name-snrl/zmk-keyboard-toucan that referenced this pull request Jun 16, 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.

4 participants