Comments (6)
from model01-firmware.
Thanks for the quick reply. I've had a bit of a derp moment: I edited the Issue I filed in the old/wrong repo (https://github.com/keyboardio/Kaleidoscope-Numlock/issues/17)
As mentioned there, I have a workaround of specifying LockLayer(NUMPAD)
in both layers, but I don't understand why the triple-underscore fallthrough isn't working.
Basically, I've gone from this:
[NUMPAD] = KEYMAP_STACKED
(___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___,
___,
___, ___, Key_Keypad7, Key_Keypad8, Key_Keypad9, Key_KeypadSubtract, M(MACRO_VERSION_INFO),
___, ___, Key_Keypad4, Key_Keypad5, Key_Keypad6, Key_KeypadAdd, ___,
___, Key_Keypad1, Key_Keypad2, Key_Keypad3, Key_Equals, ___,
___, ___, Key_Keypad0, Key_KeypadDot, Key_KeypadMultiply, Key_KeypadDivide, Key_Enter,
___, ___, ___, ___,
___),
to this:
[NUMPAD] = KEYMAP_STACKED
(___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___,
___,
LockLayer(NUMPAD), ___, Key_Keypad7, Key_Keypad8, Key_Keypad9, Key_KeypadSubtract, M(MACRO_VERSION_INFO),
___, ___, Key_Keypad4, Key_Keypad5, Key_Keypad6, Key_KeypadAdd, ___,
___, Key_Keypad1, Key_Keypad2, Key_Keypad3, Key_Equals, ___,
___, ___, Key_Keypad0, Key_KeypadDot, Key_KeypadMultiply, Key_KeypadDivide, Key_Enter,
___, ___, ___, ___,
___),
Removing the M(MACRO_VERSION_INFO)
from the NUMPAD layer isn't what I want, as I would expect doing that means I'd hit the any
key to enter numpad, and then have to hit the num
key to leave it; I'd rather have the layer lock be on the same key to enter/exit.
from model01-firmware.
from model01-firmware.
Yes, pretty much. The Any key is assigned to LockLayer(NUMPAD) instead of M(ANY), and the Any key in the NUMPAD layer is assigned to fall-through. I'm assuming that this falls through to the other layer, and not the default-factory keymapping?
If I have LockLayer(NUMPAD) explicitly assigned to the Any key in both layers, then it works as-expected.
from model01-firmware.
from model01-firmware.
Full sketch is up at https://gist.github.com/rknLA/a90c04a4e1544923110fb85af8f36dc1
from model01-firmware.
Related Issues (20)
- Cannot buld with Kaleidoscope==07f3ca and firmware==03bee4 HOT 3
- Add commit SHA to BUILD_INFORMATION string HOT 2
- Error building after upgrading to Catalina: bad CPU type in executable HOT 6
- Weird behavior on linux 5.12? HOT 11
- variable or field 'anyKeyMacro' declared void HOT 4
- Relationship with kaleidoscope repo is confusing HOT 10
- Macro code is different from Arduino HOT 1
- How to have multiple "primary" layers? HOT 2
- curly braces sometimes type square braces HOT 3
- Model01-Firmware doesn't seem to be in sync with the plugins anymore? HOT 2
- Magic combo or something to disable eeprom keymaps HOT 3
- Colormap support is incomplete HOT 1
- Keypresses are wrong over RDP HOT 8
- List default LED effect modes
- Building fails? HOT 4
- running `make flash` on OSX Catalina fails with "avrdude: butterfly_recv(): programmer is not responding" HOT 2
- build error in LED-Stalker HOT 19
- ps/2 fallback support HOT 2
- Consider replacing the Numpad plugin with a custom colormap for the layer
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 model01-firmware.