~pistos/remoteku

d3b7109ce29dbcd75c79e577d8d2b58e0d5c3966 — Pistos 1 year, 5 months ago 1d82478
Add backspace support
2 files changed, 9 insertions(+), 0 deletions(-)

M frontend/src/views/Home.vue
M sample.py
M frontend/src/views/Home.vue => frontend/src/views/Home.vue +1 -0
@@ 46,6 46,7 @@
        <input type="text" v-model="literalText" />
      </label>
      <button @click="sendLiteral">Enter</button>
      <button @click="apiPress('backspace')">Backspace</button>
    </div>
  </div>
</div>

M sample.py => sample.py +8 -0
@@ 40,11 40,19 @@ def discover():
def press(button):
    allowed = [
        "back",
        "backspace",
        "down",
        "forward",
        "home",
        "info",
        "left",
        "mute",
        "play",
        "power",
        "replay",
        "reverse",
        "right",
        "search",
        "select",
        "up",
    ]