File: oslayer_keyboardcontrol.md

package info (click to toggle)
plover 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,356 kB
  • sloc: python: 21,589; sh: 682; ansic: 25; makefile: 11
file content (21 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# `plover.oslayer.keyboardcontrol` -- Keyboard input and output

This module handles platform-specific operations relating to the keyboard,
both for capturing keyboard input (using the keyboard to write steno) and
keyboard emulation (writing the output from steno translation).

```{py:module} plover.oslayer.keyboardcontrol

```

```{class} KeyboardCapture
A subclass of {class}`plover.machine.keyboard_capture.Capture` encapsulating logic
for capturing keyboard input. An instance of this is used internally by Plover’s
built-in keyboard plugin.
```

```{class} KeyboardEmulation
A subclass of {class}`plover.output.Output` encapsulating logic
for sending keystrokes. Pass an instance of this when initializing the
{class}`StenoEngine<plover.engine.StenoEngine>`.
```