ccIDE/blocks/CCKeys/block_design.json
damp11113 9990bc3c03 update 1.2.1
Add new 3 blocks library
NativeIO CCKey and CCDisk
2024-07-29 16:46:16 +07:00

137 lines
4.5 KiB
JSON

{
"keys_get_key_number": {
"message0": "Keys %1",
"args0": [
{
"type": "field_dropdown",
"name": "KEY",
"options": [
["A", "30"],
["Apostrophe", "40"],
["At", "145"],
["Ax", "150"],
["B", "48"],
["Backspace", "14"],
["Backslash", "43"],
["CapsLock", "58"],
["C", "46"],
["Cimcumflex", "144"],
["Colon", "146"],
["Convert", "121"],
["Delete", "211"],
["D", "32"],
["Down", "208"],
["E", "18"],
["Eight", "9"],
["End", "207"],
["Equals", "13"],
["F", "33"],
["F1", "59"],
["F2", "60"],
["F3", "61"],
["F4", "62"],
["F5", "63"],
["F6", "64"],
["F7", "65"],
["F8", "66"],
["F9", "67"],
["F10", "68"],
["F11", "87"],
["F12", "88"],
["F13", "100"],
["F14", "101"],
["F15", "102"],
["Five", "6"],
["Four", "5"],
["G", "34"],
["H", "35"],
["Home", "199"],
["I", "23"],
["Insert", "210"],
["J", "36"],
["Kana", "112"],
["Kanji", "148"],
["K", "37"],
["L", "38"],
["Left", "203"],
["LeftAlt", "56"],
["LeftCtrl", "29"],
["LeftShift", "42"],
["M", "50"],
["Minus", "12"],
["NumPad0", "82"],
["NumPad1", "79"],
["NumPad2", "80"],
["NumPad3", "81"],
["NumPad4", "75"],
["NumPad5", "76"],
["NumPad6", "77"],
["NumPad7", "71"],
["NumPad8", "72"],
["NumPad9", "73"],
["NumPadAdd", "78"],
["NumPadComma", "179"],
["NumPadDecimal", "83"],
["NumPadDivide", "181"],
["NumPadEnter", "156"],
["NumPadEquals", "141"],
["NumPadSubtract", "74"],
["NumLock", "69"],
["O", "24"],
["P", "25"],
["PageDown", "209"],
["PageUp", "201"],
["Period", "52"],
["Q", "16"],
["R", "19"],
["Right", "205"],
["RightAlt", "184"],
["RightCtrl", "157"],
["RightShift", "54"],
["Return", "28"],
["S", "31"],
["ScrollLock", "70"],
["SemiColon", "39"],
["Seven", "8"],
["Slash", "53"],
["Space", "57"],
["Stop", "149"],
["Tab", "15"],
["T", "20"],
["Three", "4"],
["Two", "3"],
["U", "22"],
["Up", "200"],
["V", "47"],
["W", "17"],
["X", "45"],
["Y", "21"],
["Yen", "125"],
["Z", "44"],
["Zero", "11"],
["N", "49"],
["Noconvert", "123"],
["ScollLock", "70"]
]
}
],
"inputsInline": true,
"output": "Number",
"colour": 190,
"tooltip": "Get key number"
},
"keys_get_key_name": {
"message0": "Get key %1 name",
"args0": [
{
"type": "input_value",
"name": "KEY",
"check": "Number"
}
],
"output": "String",
"colour": 190,
"tooltip": "Translates a numerical key code to a human-readable name."
}
}