Reading over UPGRADING.md, I saw this:
The
keymaps
array has been replaced with akeymaps_linear
array. This new array treats each layer as a simple one dimensional array of keys, rather than a two dimensional array of arrays of rows. At the same time, theKEYMAPS
andKEYMAPS_STACKED
macros that were previously defined in each hardware implmentation class have been replaced withPER_KEY_DATA
andPER_KEY_DATA_STACKED
macros in each hardware class. This change should be invisible to users, but will require changes by any plugin that accessed the ‘keymaps’ variable directly.
The example sketches, however, still seem to be using KEYMAP_STACKED
, and building my own sketch with the new firmware code doesn’t produce any errors or warnings. Is this a change we can safely ignore in our sketches, or will it necessitate a change somewhere down the line? Is it as simple as a basic rename?