[atreus] Sending AltGr+key with tmk firmware

  • From: Matthieu Ancellin <matthieu.ancellin@xxxxxxxxx>
  • To: atreus@xxxxxxxxxxxxx
  • Date: Tue, 04 Oct 2016 21:05:00 +0200

Hi,

I've recently finished building my Atreus. I'm very happy with it.

The only hitch was the usb cable : for some reasons it stopped working
after a few days. Fortunately, it is probably the easiest part to
replace.

Now I'm trying to adapt the layout to French (and to my taste).
I'll need to emulate a lot of AltGr+key combinations for the symbols
layer.

With the tmk firmware, I've tried using the RALT() function like this :

KEYMAP( ..., RALT(KC_EQUAL), ...)

but the OS receives LAlt+key and not AltGr+key.

On the other hand, it works as expected when I use a KC_FN keycode, for
instance :

KEYMAP(..., KC_FN4, ... )
...
... fn_actions[] = {...
[4] = ACTION_MODS_KEY(MOD_RALT, KC_EQUAL)
...}

Do you have any idea how to explain this behavior?
I would prefer to use the compact notation and not dozens of KC_FN
functions...

Thanks in advance for your help,
Matthieu

Other related posts:

  • » [atreus] Sending AltGr+key with tmk firmware - Matthieu Ancellin