Browse Source

Add readme to dora-keyboard and remove unused comment

tags/v0.3.6
haixuanTao 1 year ago
parent
commit
3e7bf66804
2 changed files with 2 additions and 3 deletions
  1. +2
    -0
      node-hub/dora-keyboard/README.md
  2. +0
    -3
      node-hub/dora-keyboard/dora_keyboard/main.py

+ 2
- 0
node-hub/dora-keyboard/README.md View File

@@ -1 +1,3 @@
# Dora Node for listening to keyboard input.

Send char only in the `char` output stream, as string, on press.

+ 0
- 3
node-hub/dora-keyboard/dora_keyboard/main.py View File

@@ -14,6 +14,3 @@ with keyboard.Events() as events:
if hasattr(event.key, "char"):
if event.key.char is not None:
node.send_output("char", pa.array([event.key.char]))
# busy_wait(0.1)
# if event is not None and isinstance(event, Events.Release):
# node.send_output("move", pa.array([0.0, 0, 0, 0, 0, 0]))

Loading…
Cancel
Save