Comments (4)
I need a bit more detail to understand the problem.
lmet as layer toggle
What are the relevant defsrc
and deflayer
configurations?
It did not recognize anymore lmet+rightclick
I'm not sure what this means. Are you saying that you have some workflow that uses lmeta and right click at the same time which no longer works? Or that the lmeta and right click are both individually broken? Or maybe something else?
I tried adding mlft,mmid,mrght to defrc . It didn't work
The mouse buttons are special in kanata so this isn't expected to work.
from kanata.
this is a part of my file
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl @winl lalt spc ralt rmet rctl
)
(deflayer win
grv M-1 M- 2 M- 3 M- 4 M- 5 _ XX @wk8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet rctl
)
(defalias
winl (layer-toggle win)
)
if I hold lmet it will toggle win layer. Pressing lmet-right click will not work because my window manager will not recognize holding lmet as a modifier.
if I press lmet and 1, it is as if the layer toggle did not occur
If I press lmet and 6, it will print 6
if I press lmet and 7, no action
what I was trying to do is if mrgt is in defrc, I can do same as M-1 in place of the mrght (M-mrght)
from kanata.
I have found a workaround by assigning esc to lmet
eesc (tap-dance 200 (esc (one-shot 1000 lmet)))
by using the new features :)
from kanata.
Hm it's not clear to me if there's a bug in how kanata handles this. I tried a minimally reproducible sample and it behaves as I expect:
(defsrc 1 lmet)
(deflayer base 1 (layer-toggle meta))
(deflayer meta M-tab 1)
Holding down lmeta and pressing 1 generates M-tab
as expected.
If you'd like to debug this further, please try running kanata with the --debug
flag and comment with the debug logs showing your original issue being reproduced. Otherwise feel free to close the bug if you don't think it's an issue.
from kanata.
Related Issues (20)
- Unable to send key input due to key having not been physically released yet. HOT 3
- Bug: Release 1.6.1 macos_x86_64 executable isn't what it says. HOT 6
- Feature request: Show keystroke or can let other app know the real key is stroked. HOT 2
- Feature request: Can we have a more flexible unmod? HOT 1
- See if windows shift workaround can be compiled out for winiov2 HOT 1
- Bug: kanata does not work properly with listary HOT 3
- `release-key` releases both sides of a mod and not just one, e.g. `lctl` and `rctl` or `lmet` and `rmet` HOT 7
- Feature request: Compile-time conditional mappings HOT 1
- chordsv2 activation does not trigger early interruption of `tap-hold-press|release` HOT 9
- make macro-release-cancel also cancel virtual keys HOT 1
- Bug: switch's layer logic not recognized HOT 2
- Feature request: remove dependency on AutohotKey for EnableUIAccess
- Bluetooth keyboard cannot use without Chicony Keyboard attached on Thinkpad X1 Tablet Gen 3 HOT 9
- unable to set linux-use-trackpoint-propety HOT 3
- one-shot shift interferes with defoverrides HOT 5
- Feature request: chord toggle action HOT 1
- Feature request: homebrew
- Bug: special buttons on function row not working on macos HOT 2
- Bug: chord v2 overlapping chords HOT 1
- Bug: tray icons change randomly when layer changes by Meta key.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kanata.