# Copyright 2018 jem@seethis.link
# Licensed under the MIT license (http://opensource.org/licenses/MIT)
from hid_keycodes import *
lang = 'Serbian'
country = 'Serbia and Montenegro'
scancode_map = {
    KC_0: ('0', '=', '', '0', '=', ''),
    KC_1: ('1', '!', '~', '1', '!', '~'),
    KC_2: ('2', '"', '', '2', '"', ''),
    KC_3: ('3', '#', '^', '3', '#', '^'),
    KC_4: ('4', '$', '', '4', '$', ''),
    KC_5: ('5', '%', '', '5', '%', ''),
    KC_6: ('6', '&', '', '6', '&', ''),
    KC_7: ('7', '/', '`', '7', '/', '`'),
    KC_8: ('8', '(', '', '8', '(', ''),
    KC_9: ('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: ('z', 'Z', '', 'з', 'З', ''),
    KC_Z: ('y', 'Y', '', 'ѕ', 'Ѕ', ''),
    KC_APOSTROPHE: ('§', '§', '', 'ћ', 'Ћ', 'ќ'),
    KC_BACKSPACE: ('\x08', '\x08', '', '', '', ''),
    KC_COMMA: (',', ';', '', ',', ';', ''),
    KC_ENTER: ('\r', '', '', '', '', ''),
    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: (' ', ' ', '', ' ', ' ', ''),
    KC_TAB: ('\t', '', '', '', '', ''),
}