librelist archives

« back to archive

TMK firmware

TMK firmware

From:
Phil Hagelberg
Date:
2015-03-17 @ 15:08
Greetings folks.

In a few other threads I've mentioned that I'm considering switching the
firmware recommendation over to TMK, which is a third-party project that's
been around a lot longer than my own Atreus firmware, and supports a
number of other keyboards, including the Ergodox.

Initially the motivation was that it had a better workaround for a
problem that occurs when you let up on the fn key before releasing an
fn-layer keypress[1]. However, there are some other neat features some
folks might be interested in. In particular there is a feature where you
can have keys that act as modifiers when held down with another key but
act as normal keys when pressed on their own; allowing certain keys to
be double-duty helps extra when you have so few keys.

Finally I'm working on a feature to let you reach the L2 keys (arrows
and f-keys) while holding down shift and fn together, so you don't have
to hit one key to enter L2 and hit another key to leave L2. I'm running
into a bug when doing this--if you release shift first it works fine,
but if you release fn first it gets confused and fn remains active till
you tap it again. I'm not sure this is fixable in TMK, but I'm working
to debug it further.

If any of these features sound interesting, please give TMK a try. I
believe it should be well-documented and stable apart from the problem
mentioned above (I've only implemented momentary L2 on the softdvorak
layout for the time being[2], but it should be easy to port to the
others).

  https://github.com/technomancy/tmk_keyboard/tree/atreus

Please let me know how it goes if you get a chance to try this
out. Hopefully it is smooth, but I want to know of any hiccups before
this becomes the official route forward.

cheers,
Phil

[1] - http://librelist.com/browser//atreus/2015/2/3/fwd-l2-mode-lockup/
[2] - 
https://github.com/technomancy/tmk_keyboard/commit/b2ab15247570c1c0a0ffcb988abbb1a8e3ae920c

Re: [atreus] TMK firmware

From:
Drew Raines
Date:
2015-03-26 @ 21:03
On Tue, Mar 17, 2015 at 10:08 AM, Phil Hagelberg <phil@hagelb.org> wrote:

> If any of these features sound interesting, please give TMK a try.


Phil,

I migrated to tmk today.  Seems ok so far.  Sometimes the delay with fn is
noticeable, but not enough to affect use.

Looking forward to trying the double-duty keys!

Drew

Re: [atreus] TMK firmware

From:
Chris Osborne
Date:
2015-03-26 @ 21:12
Interesting, I've been using tmk with my Planck++ for a while and 
haven't noticed any significant latency on the fn keys, but I'm also not 
an insanely fast typist. How many layers is this with? IIRC it's best to 
have 4 or fewer.

On 26/03/2015 21:03, Drew Raines wrote:
> On Tue, Mar 17, 2015 at 10:08 AM, Phil Hagelberg <phil@hagelb.org 
> <mailto:phil@hagelb.org>> wrote:
>
>     If any of these features sound interesting, please give TMK a try.
>
>
> Phil,
>
> I migrated to tmk today.  Seems ok so far.  Sometimes the delay with 
> fn is noticeable, but not enough to affect use.
>
> Looking forward to trying the double-duty keys!
>
> Drew

Re: [atreus] TMK firmware

From:
Aj Christensen
Date:
2015-03-26 @ 21:37
Switched this morning. Will keep ya posted. Nothing noticeable so far.
Thanks for moving reset to the empty qwerty B key in L2. I hit this a
lot in the early days :-)

cheers,

--aj

On Wed, Mar 18, 2015 at 4:08 AM, Phil Hagelberg <phil@hagelb.org> wrote:
> Greetings folks.
>
> In a few other threads I've mentioned that I'm considering switching the
> firmware recommendation over to TMK, which is a third-party project that's
> been around a lot longer than my own Atreus firmware, and supports a
> number of other keyboards, including the Ergodox.
>
> Initially the motivation was that it had a better workaround for a
> problem that occurs when you let up on the fn key before releasing an
> fn-layer keypress[1]. However, there are some other neat features some
> folks might be interested in. In particular there is a feature where you
> can have keys that act as modifiers when held down with another key but
> act as normal keys when pressed on their own; allowing certain keys to
> be double-duty helps extra when you have so few keys.
>
> Finally I'm working on a feature to let you reach the L2 keys (arrows
> and f-keys) while holding down shift and fn together, so you don't have
> to hit one key to enter L2 and hit another key to leave L2. I'm running
> into a bug when doing this--if you release shift first it works fine,
> but if you release fn first it gets confused and fn remains active till
> you tap it again. I'm not sure this is fixable in TMK, but I'm working
> to debug it further.
>
> If any of these features sound interesting, please give TMK a try. I
> believe it should be well-documented and stable apart from the problem
> mentioned above (I've only implemented momentary L2 on the softdvorak
> layout for the time being[2], but it should be easy to port to the
> others).
>
>   https://github.com/technomancy/tmk_keyboard/tree/atreus
>
> Please let me know how it goes if you get a chance to try this
> out. Hopefully it is smooth, but I want to know of any hiccups before
> this becomes the official route forward.
>
> cheers,
> Phil
>
> [1] - http://librelist.com/browser//atreus/2015/2/3/fwd-l2-mode-lockup/
> [2] - 
https://github.com/technomancy/tmk_keyboard/commit/b2ab15247570c1c0a0ffcb988abbb1a8e3ae920c

Re: [atreus] TMK firmware

From:
Tom Short
Date:
2015-03-27 @ 00:15
I'm looking forward to trying the TMK firmware. Here's a layout I've been
considering:


https://github.com/tshort/tmk_keyboard/blob/keymap-ts/keyboard/atreus/keymap-ts.pdf

The main reason for rearranging some keys is to use some of the fancy TMK
features, specifically:

* Shift becomes a momentary tap key, so I can hit it once then hit the next
key. Hold to enter consecutive shifted keys.

* L1 works similarly. Tap once for a momentary modification. I moved all of
the "one-shot keys" to L1. This is punctuation and function keys.

* L2 is a toggle, but keys stay on layer 2 until that is hit again. I moved
the numbers and movement keys to this layer. These are things I'd often
want to type several of.

* I also plan to use dual-role keys for a few things (like Ctrl and Esc).

As you can tell, my main goal is to reduce pressing and holding modifiers.

There's some code in that same branch that is untested. (I haven't even
ordered my kit, yet, so I'm getting a little ahead of myself.)

Also, I ran across this alternative:


https://github.com/kejadlen/tmk_keyboard/blob/master/keyboard/planckeus/keymap_default.c

kejadlen uses dual-role keys on [z] and [/] for Shft and a dual-role key on
[a] for a layer shift. He uses a few other special keys, too.



On Thu, Mar 26, 2015 at 5:37 PM, AJ Christensen <aj@junglistheavy.industries
> wrote:

> Switched this morning. Will keep ya posted. Nothing noticeable so far.
> Thanks for moving reset to the empty qwerty B key in L2. I hit this a
> lot in the early days :-)
>
> cheers,
>
> --aj
>
> On Wed, Mar 18, 2015 at 4:08 AM, Phil Hagelberg <phil@hagelb.org> wrote:
> > Greetings folks.
> >
> > In a few other threads I've mentioned that I'm considering switching the
> > firmware recommendation over to TMK, which is a third-party project
> that's
> > been around a lot longer than my own Atreus firmware, and supports a
> > number of other keyboards, including the Ergodox.
> >
> > Initially the motivation was that it had a better workaround for a
> > problem that occurs when you let up on the fn key before releasing an
> > fn-layer keypress[1]. However, there are some other neat features some
> > folks might be interested in. In particular there is a feature where you
> > can have keys that act as modifiers when held down with another key but
> > act as normal keys when pressed on their own; allowing certain keys to
> > be double-duty helps extra when you have so few keys.
> >
> > Finally I'm working on a feature to let you reach the L2 keys (arrows
> > and f-keys) while holding down shift and fn together, so you don't have
> > to hit one key to enter L2 and hit another key to leave L2. I'm running
> > into a bug when doing this--if you release shift first it works fine,
> > but if you release fn first it gets confused and fn remains active till
> > you tap it again. I'm not sure this is fixable in TMK, but I'm working
> > to debug it further.
> >
> > If any of these features sound interesting, please give TMK a try. I
> > believe it should be well-documented and stable apart from the problem
> > mentioned above (I've only implemented momentary L2 on the softdvorak
> > layout for the time being[2], but it should be easy to port to the
> > others).
> >
> >   https://github.com/technomancy/tmk_keyboard/tree/atreus
> >
> > Please let me know how it goes if you get a chance to try this
> > out. Hopefully it is smooth, but I want to know of any hiccups before
> > this becomes the official route forward.
> >
> > cheers,
> > Phil
> >
> > [1] - http://librelist.com/browser//atreus/2015/2/3/fwd-l2-mode-lockup/
> > [2] -
> 
https://github.com/technomancy/tmk_keyboard/commit/b2ab15247570c1c0a0ffcb988abbb1a8e3ae920c
>

Re: [atreus] TMK firmware

From:
Phil Hagelberg
Date:
2015-03-27 @ 13:29
Tom Short <tshort.rlists@gmail.com> writes:

> The main reason for rearranging some keys is to use some of the fancy TMK
> features, specifically:
>
> * Shift becomes a momentary tap key, so I can hit it once then hit the next
> key. Hold to enter consecutive shifted keys.
>
> * L1 works similarly. Tap once for a momentary modification. I moved all of
> the "one-shot keys" to L1. This is punctuation and function keys.
>
> * L2 is a toggle, but keys stay on layer 2 until that is hit again. I moved
> the numbers and movement keys to this layer. These are things I'd often
> want to type several of.
>
> * I also plan to use dual-role keys for a few things (like Ctrl and Esc).

Cool; it would be great to hear how these work out for you. I'm not sure
that they're appropriate in the default since it's already so much to
learn, but they're definitely great to have as options for advanced users.

> Also, I ran across this alternative:
>
> 
https://github.com/kejadlen/tmk_keyboard/blob/master/keyboard/planckeus/keymap_default.c
>
> kejadlen uses dual-role keys on [z] and [/] for Shft and a dual-role key on
> [a] for a layer shift. He uses a few other special keys, too.

I would recommend against this; moving shift away from the pinkies is a
pretty important ergonomics win. But you can always try it for yourself.

-Phil

Re: [atreus] TMK firmware

From:
Tom Short
Date:
2015-03-27 @ 14:34
I agree on avoiding pinkies. The most interesting part of that mapping is
using dual-role keys on common characters. If you don't run into problems
with a modifier on [a], then someone might want to try modifiers on [f] or
[j] or other home-row key.

On Fri, Mar 27, 2015 at 9:29 AM, Phil Hagelberg <phil@hagelb.org> wrote:

> Tom Short <tshort.rlists@gmail.com> writes:
>
> > The main reason for rearranging some keys is to use some of the fancy TMK
> > features, specifically:
> >
> > * Shift becomes a momentary tap key, so I can hit it once then hit the
> next
> > key. Hold to enter consecutive shifted keys.
> >
> > * L1 works similarly. Tap once for a momentary modification. I moved all
> of
> > the "one-shot keys" to L1. This is punctuation and function keys.
> >
> > * L2 is a toggle, but keys stay on layer 2 until that is hit again. I
> moved
> > the numbers and movement keys to this layer. These are things I'd often
> > want to type several of.
> >
> > * I also plan to use dual-role keys for a few things (like Ctrl and Esc).
>
> Cool; it would be great to hear how these work out for you. I'm not sure
> that they're appropriate in the default since it's already so much to
> learn, but they're definitely great to have as options for advanced users.
>
> > Also, I ran across this alternative:
> >
> >
> 
https://github.com/kejadlen/tmk_keyboard/blob/master/keyboard/planckeus/keymap_default.c
> >
> > kejadlen uses dual-role keys on [z] and [/] for Shft and a dual-role key
> on
> > [a] for a layer shift. He uses a few other special keys, too.
>
> I would recommend against this; moving shift away from the pinkies is a
> pretty important ergonomics win. But you can always try it for yourself.
>
> -Phil
>

Re: [atreus] TMK firmware

From:
Joe Fiorini
Date:
2015-03-27 @ 16:14
I just updated mine. Definitely fixed the fn key issue I was having. No
more goatee smilies in slack!

Is the momentary L2 switching on Github already? I'd love to try it out
(not sure if I'm at the point where I can troubleshoot but happy to
try). I'd love to put some media keys on L2 and be able to access them
quickly.

-- 
Joe Fiorini

On Tue, Mar 17, 2015, at 11:08 AM, Phil Hagelberg wrote:
> Greetings folks.
> 
> In a few other threads I've mentioned that I'm considering switching the
> firmware recommendation over to TMK, which is a third-party project
> that's
> been around a lot longer than my own Atreus firmware, and supports a
> number of other keyboards, including the Ergodox.
> 
> Initially the motivation was that it had a better workaround for a
> problem that occurs when you let up on the fn key before releasing an
> fn-layer keypress[1]. However, there are some other neat features some
> folks might be interested in. In particular there is a feature where you
> can have keys that act as modifiers when held down with another key but
> act as normal keys when pressed on their own; allowing certain keys to
> be double-duty helps extra when you have so few keys.
> 
> Finally I'm working on a feature to let you reach the L2 keys (arrows
> and f-keys) while holding down shift and fn together, so you don't have
> to hit one key to enter L2 and hit another key to leave L2. I'm running
> into a bug when doing this--if you release shift first it works fine,
> but if you release fn first it gets confused and fn remains active till
> you tap it again. I'm not sure this is fixable in TMK, but I'm working
> to debug it further.
> 
> If any of these features sound interesting, please give TMK a try. I
> believe it should be well-documented and stable apart from the problem
> mentioned above (I've only implemented momentary L2 on the softdvorak
> layout for the time being[2], but it should be easy to port to the
> others).
> 
>   https://github.com/technomancy/tmk_keyboard/tree/atreus
> 
> Please let me know how it goes if you get a chance to try this
> out. Hopefully it is smooth, but I want to know of any hiccups before
> this becomes the official route forward.
> 
> cheers,
> Phil
> 
> [1] - http://librelist.com/browser//atreus/2015/2/3/fwd-l2-mode-lockup/
> [2] -
> 
https://github.com/technomancy/tmk_keyboard/commit/b2ab15247570c1c0a0ffcb988abbb1a8e3ae920c
> Email had 1 attachment:
> + signature.asc
>   1k (application/pgp-signature)

Re: [atreus] TMK firmware

From:
Phil Hagelberg
Date:
2015-04-02 @ 08:00
Joe Fiorini <joe@joefiorini.com> writes:

> Is the momentary L2 switching on Github already? I'd love to try it out
> (not sure if I'm at the point where I can troubleshoot but happy to
> try). I'd love to put some media keys on L2 and be able to access them
> quickly.

Oh yeah, sorry--I had only added this to softdvorak layout at first.

I just pushed out an alternate qwerty with momentary L2 since I don't
think it's quite baked enough to add to the default qwerty layout yet.


https://github.com/technomancy/tmk_keyboard/commit/fcdac285f83da228569830645a803aa9c721c12c

Use `make upload KEYMAP=qwerty_ml2` to load this in.

Let me know how it works for you. The bug I mentioned earlier where it
doesn't deactivate properly if you let up on the wrong key first is
still present; haven't gotten a chance to iron that out yet. It hasn't
bothered me much, but I don't use L2 much either.

-Phil