Since `keyIndex` is pretty much the same for all boards, it makes sense to have it in `key_indexes.h`. To be able to do that, we need to implement it as a macro, otherwise `HARDWARE_IMPLEMENTATION` can't be resolved. With a macro, it is evaluated on call-sites, where the compiler can resolve that symbol. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/461/head
parent
b5b219a956
commit
3f13d3e09f
Loading…
Reference in new issue