MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / shiftKeyMapping

Function shiftKeyMapping

src/handlers/quickTools.js:710–755  ·  view source on GitHub ↗
(char)

Source from the content-addressed store, hash-verified

708}
709
710function shiftKeyMapping(char) {
711 switch (char) {
712 case "1":
713 return "!";
714 case "2":
715 return "@";
716 case "3":
717 return "#";
718 case "4":
719 return "$";
720 case "5":
721 return "%";
722 case "6":
723 return "^";
724 case "7":
725 return "&";
726 case "8":
727 return "*";
728 case "9":
729 return "(";
730 case "0":
731 return ")";
732 case "-":
733 return "_";
734 case "=":
735 return "+";
736 case "[":
737 return "{";
738 case "]":
739 return "}";
740 case "\\":
741 return "|";
742 case ";":
743 return ":";
744 case "'":
745 return '"';
746 case ",":
747 return "<";
748 case ".":
749 return ">";
750 case "/":
751 return "?";
752 default:
753 return char.toUpperCase();
754 }
755}
756
757function getRefValue(ref) {
758 if (!ref) return "";

Callers 1

quickTools.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected