You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
5.4 KiB

  1. #include QMK_KEYBOARD_H
  2. #define RANDOM_STRING_DELAY 100
  3. enum custom_keycodes {
  4. RANDOM_STRING_MACRO = SAFE_RANGE
  5. };
  6. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  7. LAYOUT(
  8. RANDOM_STRING_MACRO
  9. )
  10. };
  11. const char sentence_01[] PROGMEM = "I hope you have a great day!";
  12. const char sentence_02[] PROGMEM = "You are an awesome person.";
  13. const char sentence_03[] PROGMEM = "I wish I knew you better, you seem nice!";
  14. const char sentence_04[] PROGMEM = "Your views restore my faith in humanity";
  15. const char sentence_05[] PROGMEM = "You are as cool as a norm-critical disney princess";
  16. const char sentence_06[] PROGMEM = "You have impeccable manners.";
  17. const char sentence_07[] PROGMEM = "You are making me smile";
  18. const char sentence_08[] PROGMEM = "You are making a difference";
  19. const char sentence_09[] PROGMEM = "You bring out the best in other people";
  20. const char sentence_10[] PROGMEM = "You are all that and a super-size bag of chips.";
  21. const char sentence_11[] PROGMEM = "You are not someone I pretend to not see in public.";
  22. const char sentence_12[] PROGMEM = "Are you a beaver, because damn.";
  23. const char sentence_13[] PROGMEM = "I bet you make babies smile.";
  24. const char sentence_14[] PROGMEM = "You are awkward, in a cute way. Like an elevator ride, but with puppies.";
  25. const char sentence_15[] PROGMEM = "Looking like a complete idiot with you is really fun.";
  26. const char sentence_16[] PROGMEM = "If you cooked something really bad, I would tell you instead of eating it.";
  27. const char sentence_17[] PROGMEM = "I love how passionate you are about your hobby.";
  28. const char sentence_18[] PROGMEM = "Our conversations always make me feel better.";
  29. const char sentence_19[] PROGMEM = "It is amazing how far out of your way you go to help people.";
  30. const char sentence_20[] PROGMEM = "I am so glad that you wrote something here.";
  31. const char sentence_21[] PROGMEM = "Hey you! How nice to see a friendly person in my feed!";
  32. const char sentence_22[] PROGMEM = "I hope we know each other for a long time.";
  33. const char sentence_23[] PROGMEM = "I bet if Britney Spears knew you, 2008 would have gone a lot differently.";
  34. const char sentence_24[] PROGMEM = "I would trust you with my passwords.";
  35. const char sentence_25[] PROGMEM = "You are a great problem solver";
  36. const char sentence_26[] PROGMEM = "I would love to hear you laugh!";
  37. const char sentence_27[] PROGMEM = "Please, have a monologue about your week, I just want to listen to you!";
  38. const char sentence_28[] PROGMEM = "You are very far from being Trump.";
  39. const char sentence_29[] PROGMEM = "I think my dog might like you more than me";
  40. const char sentence_30[] PROGMEM = "I feel like you would be a great person to do a group project with";
  41. const char sentence_31[] PROGMEM = "I bet animals love you";
  42. const char sentence_32[] PROGMEM = "I bet even Kanye would like you more than himself";
  43. const char sentence_33[] PROGMEM = "You are just doing a great job at life";
  44. const char sentence_34[] PROGMEM = "I like how you are challenging me.";
  45. const char sentence_35[] PROGMEM = "You would do be a great mother!";
  46. const char sentence_36[] PROGMEM = "I... Baked bread for you.";
  47. const char sentence_37[] PROGMEM = "Wow. You.";
  48. const char sentence_38[] PROGMEM = "You would not have let that balrog pass!";
  49. const char sentence_39[] PROGMEM = "Thank you.";
  50. const char sentence_40[] PROGMEM = "You would be standing out in a crowd";
  51. const char sentence_41[] PROGMEM = "Your sense of style is amazing.";
  52. const char sentence_42[] PROGMEM = "You have a beautiful mind.";
  53. const char sentence_43[] PROGMEM = "I like that big juicy brain of yours";
  54. const char sentence_44[] PROGMEM = "I would share my cinnamon bun with you";
  55. const char sentence_45[] PROGMEM = "I like you more than i like my moms apple pie";
  56. const char sentence_46[] PROGMEM = "You give me the same feeling as a summers night";
  57. const char sentence_47[] PROGMEM = "I enjoy you more than the click of my mechanical switch";
  58. const char sentence_48[] PROGMEM = "I would let you pop my bubble wrap";
  59. const char sentence_49[] PROGMEM = "Being near you is like being inside of a poem";
  60. PGM_P const sentences[] PROGMEM = {
  61. sentence_01,
  62. sentence_02,
  63. sentence_03,
  64. sentence_04,
  65. sentence_05,
  66. sentence_06,
  67. sentence_07,
  68. sentence_08,
  69. sentence_09,
  70. sentence_10,
  71. sentence_11,
  72. sentence_12,
  73. sentence_13,
  74. sentence_14,
  75. sentence_15,
  76. sentence_16,
  77. sentence_17,
  78. sentence_18,
  79. sentence_19,
  80. sentence_20,
  81. sentence_21,
  82. sentence_22,
  83. sentence_23,
  84. sentence_24,
  85. sentence_25,
  86. sentence_26,
  87. sentence_27,
  88. sentence_28,
  89. sentence_29,
  90. sentence_30,
  91. sentence_31,
  92. sentence_32,
  93. sentence_33,
  94. sentence_34,
  95. sentence_35,
  96. sentence_36,
  97. sentence_37,
  98. sentence_38,
  99. sentence_39,
  100. sentence_40,
  101. sentence_41,
  102. sentence_42,
  103. sentence_43,
  104. sentence_44,
  105. sentence_45,
  106. sentence_46,
  107. sentence_47,
  108. sentence_48,
  109. sentence_49
  110. };
  111. bool process_record_user(uint16_t keycode, keyrecord_t *record) {
  112. if (record->event.pressed) {
  113. int sentences_size = sizeof(sentences) / sizeof(sentences[0]);
  114. int i = rand() % sentences_size;
  115. switch (keycode) {
  116. case RANDOM_STRING_MACRO:
  117. send_string_with_delay_P((PGM_P)pgm_read_word(&(sentences[i])), RANDOM_STRING_DELAY);
  118. tap_code(KC_ENT);
  119. return false;
  120. }
  121. }
  122. return true;
  123. }