Skip to content

Instantly share code, notes, and snippets.

@bstreiff
Last active October 5, 2021 13:48
Show Gist options
  • Select an option

  • Save bstreiff/d10ec8739aa853b21d148fe4400527b4 to your computer and use it in GitHub Desktop.

Select an option

Save bstreiff/d10ec8739aa853b21d148fe4400527b4 to your computer and use it in GitHub Desktop.

Revisions

  1. bstreiff revised this gist Jun 4, 2021. 3 changed files with 31 additions and 6 deletions.
    10 changes: 5 additions & 5 deletions XBAND-SNES-Keyboard.kbd.json
    Original file line number Diff line number Diff line change
    @@ -29,15 +29,15 @@
    "t": "#dd1126"
    },
    "<i class=\"game\">L</i>",
    "Select",
    "Start",
    "<i class=\"selst\">Select</i>",
    "<i class=\"selst\">Start</i>",
    "<i class=\"game\">R</i>"
    ],
    [
    {
    "a": 6
    },
    "Cancel",
    "<span class=\"cancel\">Cancel</span>",
    {
    "t": "#f7f2ea",
    "a": 4
    @@ -177,7 +177,7 @@
    {
    "t": "#dd1126"
    },
    "<i class=\"xlogo\">X</i>",
    "<i class=\"xlogol\">X</i>",
    {
    "t": "#f7f2ea",
    "a": 6
    @@ -198,7 +198,7 @@
    "t": "#dd1126",
    "a": 7
    },
    "<i class=\"xlogo\">X</i>",
    "<i class=\"xlogor\">X</i>",
    {
    "t": "#f7f2ea",
    "a": 4
    3 changes: 3 additions & 0 deletions XBAND-SNES-Keyboard.notes.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    The SNES XBAND keyboard, as well as I can approximate with KLE.

    https://pbs.twimg.com/media/E26_oyzX0AAbDi3?format=jpg&name=large
    24 changes: 23 additions & 1 deletion XBAND-SNES-Keyboard.style.css
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,29 @@
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    .xlogo {
    .keylabel0, .keylabel6 {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 1.2em;
    }

    .cancel {
    font-size: 0.9em;
    }

    .selst {
    font-family: 'Impact', 'sans-serif';
    text-transform: uppercase;
    }

    .xlogol {
    font-family: 'Sedgwick Ave Display';
    font-size: 2em;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #dd1126;
    }

    .xlogor {
    font-family: 'Sedgwick Ave Display';
    font-size: 2em;
    }
  2. bstreiff revised this gist May 12, 2021. 2 changed files with 35 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions XBAND-SNES-Keyboard.kbd.json
    Original file line number Diff line number Diff line change
    @@ -28,10 +28,10 @@
    {
    "t": "#dd1126"
    },
    "L",
    "<i class=\"game\">L</i>",
    "Select",
    "Start",
    "R"
    "<i class=\"game\">R</i>"
    ],
    [
    {
    @@ -63,7 +63,7 @@
    "t": "#dd1126",
    "a": 7
    },
    "X"
    "<i class=\"game\">X</i>"
    ],
    [
    {
    @@ -100,7 +100,7 @@
    "t": "#dd1126",
    "a": 7
    },
    "Y"
    "<i class=\"game\">Y</i>"
    ],
    [
    {
    @@ -128,7 +128,7 @@
    "t": "#dd1126",
    "a": 7
    },
    "A"
    "<i class=\"game\">A</i>"
    ],
    [
    {
    @@ -162,7 +162,7 @@
    {
    "t": "#dd1126"
    },
    "B"
    "<i class=\"game\">B</i>"
    ],
    [
    {
    @@ -177,7 +177,7 @@
    {
    "t": "#dd1126"
    },
    "X",
    "<i class=\"xlogo\">X</i>",
    {
    "t": "#f7f2ea",
    "a": 6
    @@ -198,7 +198,7 @@
    "t": "#dd1126",
    "a": 7
    },
    "X",
    "<i class=\"xlogo\">X</i>",
    {
    "t": "#f7f2ea",
    "a": 4
    27 changes: 27 additions & 0 deletions XBAND-SNES-Keyboard.style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    @font-face {
    font-family: 'Sedgwick Ave Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sedgwickavedisplay/v8/xfuu0XPgU3jZPUoUo3ScvmPi-NapQ8OxM1c0fec.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    @font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/ibmplexsans/v8/zYX9KVElMYYaJe8bpLHnCwDKjSL9AIFsdA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    .xlogo {
    font-family: 'Sedgwick Ave Display';
    font-size: 2em;
    }

    .game {
    font-family: 'IBM Plex Sans';
    font-size: 2em;
    }
  3. bstreiff created this gist May 11, 2021.
    214 changes: 214 additions & 0 deletions XBAND-SNES-Keyboard.kbd.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,214 @@
    [
    {
    "name": "XBAND SNES Keyboard",
    "author": "Catapult Entertainment",
    "background": {
    "name": "PBT Black",
    "style": "background-image: url('/bg/plastic/pbt-black.png');"
    }
    },
    [
    {
    "c": "#393b3b",
    "t": "#f7f2ea",
    "a": 7
    },
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    {
    "t": "#dd1126"
    },
    "L",
    "Select",
    "Start",
    "R"
    ],
    [
    {
    "a": 6
    },
    "Cancel",
    {
    "t": "#f7f2ea",
    "a": 4
    },
    "!\n1",
    "@\n2",
    "#\n3",
    "$\n4",
    "%\n5",
    "^\n6",
    "&\n7",
    "*\n8",
    "(\n9",
    ")\n0",
    "_\n-",
    "+\n=",
    {
    "a": 6,
    "w": 2
    },
    "",
    {
    "t": "#dd1126",
    "a": 7
    },
    "X"
    ],
    [
    {
    "a": 6,
    "w": 1.5
    },
    "Switch",
    {
    "t": "#f7f2ea",
    "a": 4
    },
    "Q",
    "W",
    "E",
    "R",
    "T",
    "Y",
    "U",
    "I",
    "O",
    "P",
    "{\n[",
    "}\n]",
    {
    "w": 1.5,
    "h": 2,
    "w2": 2.25,
    "h2": 1,
    "x2": -0.75,
    "y2": 1
    },
    "\nEnter ↵",
    {
    "t": "#dd1126",
    "a": 7
    },
    "Y"
    ],
    [
    {
    "t": "#f7f2ea",
    "a": 6,
    "w": 1.75
    },
    "Caps Lock",
    {
    "a": 4
    },
    "A",
    "S",
    "D",
    "F",
    "G",
    "H",
    "J",
    "K",
    "L",
    ":\n;",
    "\"\n'",
    {
    "x": 2.25,
    "t": "#dd1126",
    "a": 7
    },
    "A"
    ],
    [
    {
    "t": "#f7f2ea",
    "a": 6,
    "w": 2.25
    },
    "⇧ Shift",
    {
    "a": 4
    },
    "Z",
    "X",
    "C",
    "V",
    "B",
    "N",
    "M",
    "<\n,",
    ">\n.",
    "?\n/",
    {
    "a": 6,
    "w": 1.75
    },
    "⇧ Shift",
    {
    "a": 7
    },
    "",
    {
    "t": "#dd1126"
    },
    "B"
    ],
    [
    {
    "t": "#f7f2ea",
    "a": 4
    },
    "~\n`",
    {
    "a": 7
    },
    "",
    {
    "t": "#dd1126"
    },
    "X",
    {
    "t": "#f7f2ea",
    "a": 6
    },
    "Ctrl",
    {
    "t": "#f5eded",
    "a": 7,
    "w": 6
    },
    "",
    {
    "t": "#f7f2ea",
    "a": 6
    },
    "Ctrl",
    {
    "t": "#dd1126",
    "a": 7
    },
    "X",
    {
    "t": "#f7f2ea",
    "a": 4
    },
    "|\n\\",
    {
    "a": 7
    },
    "",
    "",
    ""
    ]
    ]