Advertisement
Guest User

TMK firmware macros for some copypastas

a guest
Apr 24th, 2017
2,309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 21.59 KB | None | 0 0
  1. #include "keycode.h"
  2. #include "action.h"
  3. #include "action_macro.h"
  4. #include "report.h"
  5. #include "host.h"
  6. #include "print.h"
  7. #include "debug.h"
  8. #include "keymap.h"
  9.  
  10. const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
  11. {
  12.     switch (id) {
  13.         case 0:
  14.             return (record->event.pressed ?
  15.                     // Macro 0: Navy Seal Copypasta// Macro 1: Richard Stallman copypasta
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement