0 Members and 1 Guest are viewing this topic.
if ((ns_key & 0xFF) == '1') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '1' + '!');if ((ns_key & 0xFF) == '2') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '2' + '"');if ((ns_key & 0xFF) == '3') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '3' + '§');if ((ns_key & 0xFF) == '4') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '4' + '$');if ((ns_key & 0xFF) == '5') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '5' + '%');if ((ns_key & 0xFF) == '6') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '6' + '&');if ((ns_key & 0xFF) == '7') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '7' + '/');if ((ns_key & 0xFF) == '8') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '8' + '(');if ((ns_key & 0xFF) == '9') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '9' + ')');if ((ns_key & 0xFF) == '0') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '0' + '=');if ((ns_key & 0xFF) == ',') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - ',' + ';');if ((ns_key & 0xFF) == '.') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '.' + ':');if ((ns_key & 0xFF) == '-') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '-' + '_');if ((ns_key & 0xFF) == '+') return (ns_key & 0xFF00) | ((ns_key & 0xFF) - '+' + '*');
Sorry for spam, I implemented better language support and some SHIFT-modifiers for QWERTY and QWERTZ keyboards