ruiqimao / qmkbuilder

Online GUI for QMK Firmware
http://kbfirmware.com
GNU General Public License v3.0
383 stars 123 forks source link

Can Keycode MT() be expanded to allow MO() as a modifier? #27

Closed ExperimentsWithCode closed 7 years ago

ExperimentsWithCode commented 7 years ago

Essentially I am on a minivan, and am trying to switch from TMK to QMK. I want my enter key to be enter when pressed, and momentarily turn on layer 1 when held. I want the same for space but layer 2. I am able to do this on the http://minivan.config.thevankeyboards.com/ which uses TMK and have to assume it is possible to do on QMK, but honestly am not positive.

It seems MT() only allows for traditional modifiers and modifier combos and your site. Is there a way to expand that to include momentary layers?

screen shot 2017-07-13 at 11 04 12 am

ExperimentsWithCode commented 7 years ago

I am dumb, and apparently can't read good.

The code I was looking for is LT()