Boilerplate for empty layer

Hi,

I am creating a new layer for ALTGR. So I have been searching though the forums and docs after the boilerplate for doing that. I can do it, but I am just too lazy to create the 64 key array of ___, ___, ___ through trial and error.

So if someone has the boilerplate I could just copy… I imagine this will help other people than me too :wink:

Perhaps copy the left half of numpad?

er, here:

[BOILERPLATE] =  KEYMAP_STACKED
 (___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___,
  ___,

  ___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___, ___, ___, ___,
  ___, ___, ___, ___,
  ___),
3 Likes

Ok. Maybe I was too lazy. But now we got it documented for the next lazy bastard:

https://github.com/lldata/Model01-Firmware/commit/4ff366faa98ca8e0bba1815ea961bd23376ec5d3

2 Likes

Happy to help! Simple to do, and I want to support your work.

1 Like

Maybe this is a silly question, but why are you reimplementing altgr?

To answer that, tell me what does altgr do on a us layout keyboard?

Really altgr is just a name I chose for the extra layer.