SHARE
TWEET

Untitled

a guest Feb 17th, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef REV2_H
  2. #define REV2_H
  3.  
  4. #include "../lets_split.h"
  5.  
  6. //void promicro_bootloader_jmp(bool program);
  7. #include "quantum.h"
  8.  
  9. //void promicro_bootloader_jmp(bool program);
  10.  
  11. //add #define FLIP_HALF in config.h for flipped map
  12. #ifndef FLIP_HALF
  13. //Standard Keymap
  14. #define KEYMAP( \
  15.     k00, k01, k02, k03, k04, k05, k45, k44, k43, k42, k41, k40, \
  16.     k10, k11, k12, k13, k14, k15, k55, k54, k53, k52, k51, k50, \
  17.     k20, k21, k22, k23, k24, k25, k65, k64, k63, k62, k61, k60, \
  18.     k30, k31, k32, k33, k34, k35, k75, k74, k73, k72, k71, k70 \
  19.     ) \
  20.     { \
  21.         { k00, k01, k02, k03, k04, k05 }, \
  22.         { k10, k11, k12, k13, k14, k15 }, \
  23.         { k20, k21, k22, k23, k24, k25 }, \
  24.         { k30, k31, k32, k33, k34, k35 }, \
  25.         { k40, k41, k42, k43, k44, k45 }, \
  26.         { k50, k51, k52, k53, k54, k55 }, \
  27.         { k60, k61, k62, k63, k64, k65 }, \
  28.         { k70, k71, k72, k73, k74, k75 } \
  29.     }
  30. #else
  31. //Keymaps with one side flipped
  32. #define KEYMAP( \
  33.     k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \
  34.     k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \
  35.     k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \
  36.     k30, k31, k32, k33, k34, k35, k70, k71, k72, k73, k74, k75 \
  37.     ) \
  38.     { \
  39.         { k00, k01, k02, k03, k04, k05 }, \
  40.         { k10, k11, k12, k13, k14, k15 }, \
  41.         { k20, k21, k22, k23, k24, k25 }, \
  42.         { k30, k31, k32, k33, k34, k35 }, \
  43.         { k40, k41, k42, k43, k44, k45 }, \
  44.         { k50, k51, k52, k53, k54, k55 }, \
  45.         { k60, k61, k62, k63, k64, k65 }, \
  46.         { k70, k71, k72, k73, k74, k75 } \
  47.     }
  48. #endif
  49. #endif
RAW Paste Data
Top