# Copyright 2018 jem@seethis.link
# Licensed under the MIT license (http://opensource.org/licenses/MIT)
from hid_keycodes import *
lang = 'Spanish'
country = 'Spain'
scancode_map = {
    KC_0: ('0', '=', '', '', '', ''),
    KC_1: ('1', '!', '|', '', '', ''),
    KC_2: ('2', '"', '@', '', '', ''),
    KC_3: ('3', '·', '#', '', '', ''),
    KC_4: ('4', '$', '̃', '', '', ''),
    KC_5: ('5', '%', '', '', '', ''),
    KC_6: ('6', '&', '¬', '', '', ''),
    KC_7: ('7', '/', '', '', '', ''),
    KC_8: ('8', '(', '', '', '', ''),
    KC_9: ('9', ')', '', '', '', ''),
    KC_A: ('a', 'A', '', '', '', ''),
    KC_B: ('b', 'B', '', '', '', ''),
    KC_C: ('c', 'C', '', '', '', ''),
    KC_D: ('d', 'D', '', '', '', ''),
    KC_E: ('e', 'E', '€', '', '', ''),
    KC_F: ('f', 'F', '', '', '', ''),
    KC_G: ('g', 'G', '', '', '', ''),
    KC_H: ('h', 'H', '', '', '', ''),
    KC_I: ('i', 'I', '', '', '', ''),
    KC_J: ('j', 'J', '', '', '', ''),
    KC_K: ('k', 'K', '', '', '', ''),
    KC_L: ('l', 'L', '', '', '', ''),
    KC_M: ('m', 'M', '', '', '', ''),
    KC_N: ('n', 'N', '', '', '', ''),
    KC_O: ('o', 'O', '', '', '', ''),
    KC_P: ('p', 'P', '', '', '', ''),
    KC_Q: ('q', 'Q', '', '', '', ''),
    KC_R: ('r', 'R', '', '', '', ''),
    KC_S: ('s', 'S', '', '', '', ''),
    KC_T: ('t', 'T', '', '', '', ''),
    KC_U: ('u', 'U', '', '', '', ''),
    KC_V: ('v', 'V', '', '', '', ''),
    KC_W: ('w', 'W', '', '', '', ''),
    KC_X: ('x', 'X', '', '', '', ''),
    KC_Y: ('y', 'Y', '', '', '', ''),
    KC_Z: ('z', 'Z', '', '', '', ''),
    KC_APOSTROPHE: ('́', '̈', '{', '', '', ''),
    KC_COMMA: (',', ';', '', '', '', ''),
    KC_EQUAL: ('¡', '¿', '', '', '', ''),
    KC_FORWARD_SLASH: ('-', '_', '', '', '', ''),
    KC_GRAVE: ('º', 'ª', '\\', '', '', ''),
    KC_ISO_BACK_SLASH: ('<', '>', '', '', '', ''),
    KC_ISO_HASH: ('ç', 'Ç', '}', '', '', ''),
    KC_LEFT_BRACKET: ('̀', '̂', '[', '', '', ''),
    KC_MINUS: ("'", '?', '', '', '', ''),
    KC_PERIOD: ('.', ':', '', '', '', ''),
    KC_RIGHT_BRACKET: ('+', '*', ']', '', '', ''),
    KC_SEMICOLON: ('ñ', 'Ñ', '', '', '', ''),
    KC_SPACEBAR: (' ', ' ', '', '', '', ''),
}