forked from theatrus/softwedge
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
59 lines (46 loc) · 1.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
softwedge: A serial software keyboard wedge for *nix X11
(c) 2007 Yann Ramin <[email protected]>
---------------------------------------------------------
softwedge is a small Linux utility which forwards
data from a serial port (such as from a tty, or a barcode
scanner) and re-issues the data as X11 key press events.
softwedge was designed to allow ordinary applications
to accept data from a Bluetooth barcode scanner (for testing,
the author used a Metrologic FocusBT, though any *decoded* serial
or Bluetooth barcode scanner should work).
Un-decoded scanners won't work - softwedge expects input near
the US-ASCII character-set, though not all control codes work at this time.
Quick start:
------------
make
make install
(If serial port is /dev/rfcomm0)
softwedge
(or)
softwedge -c /dev/ttyWhatever
Options:
--------
-c:
Sets serial port
-f:
Run in the foreground - don't fork
-v:
See version information
Limitations:
------------
- Softwedge can't set any serial port parameters - use
stty
- No support of input cleanup is supported
(extra LF removal, etc)
- Not all escape codes will directly transfer to X11 input at this time.
I.e., FedEx PDF417 codes, UPS MaxiCode
- International barcode character sets are untested (i.e. QR Code)
Future:
-------
- Multiple input methods to allow for more international control
i.e. text to clipboard
- Testing of more control codes
- Support of more Barcode specific features
- FocusBT encryption support, 2-way support
- GUI config tool
- and more...