upload
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

keymap_spanish.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef KEYMAP_SPANISH_H
  2. #define KEYMAP_SPANISH_H
  3. #include "keymap_common.h"
  4. // Alt gr
  5. #define ALGR(kc) kc | 0x1400
  6. #define NO_ALGR KC_RALT
  7. // Normal characters
  8. #define ES_OVRR KC_GRV
  9. #define ES_APOS KC_MINS
  10. #define ES_IEXL KC_EQL
  11. #define ES_GRV KC_LBRC
  12. #define ES_PLUS KC_RBRC
  13. #define ES_NTIL KC_SCLN
  14. #define ES_ACUT KC_QUOT
  15. #define ES_CCED KC_NUHS
  16. #define ES_LESS KC_NUBS
  17. #define ES_MINS KC_SLSH
  18. // Shifted characters
  19. #define ES_ASML LSFT(ES_OVRR)
  20. #define ES_QUOT LSFT(KC_2)
  21. #define ES_OVDT LSFT(KC_3)
  22. #define ES_AMPR LSFT(KC_6)
  23. #define ES_SLSH LSFT(KC_7)
  24. #define ES_LPRN LSFT(KC_8)
  25. #define ES_RPRN LSFT(KC_9)
  26. #define ES_EQL LSFT(KC_0)
  27. #define ES_QUES LSFT(ES_APOS)
  28. #define ES_IQUE LSFT(ES_IEXL)
  29. #define ES_CIRC LSFT(ES_GRV)
  30. #define ES_ASTR LSFT(ES_PLUS)
  31. #define ES_UMLT LSFT(ES_GRV)
  32. #define ES_GRTR LSFT(ES_LESS)
  33. #define ES_SCLN LSFT(ES_COMM)
  34. #define ES_COLN LSFT(ES_DOT)
  35. #define ES_UNDS LSFT(ES_MINS)
  36. // Alt Gr-ed characters
  37. #define ES_BSLS ALGR(ES_OVRR)
  38. #define ES_PIPE ALGR(KC_1)
  39. #define ES_AT ALGR(KC_2)
  40. #define ES_HASH ALGR(KC_3)
  41. #define ES_TILD ALGR(KC_4)
  42. #define ES_EURO ALGR(KC_5)
  43. #define ES_NOT ALGR(KC_6)
  44. #define ES_LBRC ALGR(ES_GRV)
  45. #define ES_RBRC ALGR(ES_PLUS)
  46. #define ES_LCBR ALGR(ES_ACUT)
  47. #define ES_RCRB ALGR(ES_CCED)
  48. #endif