File: keys.go

package info (click to toggle)
golang-github-atomicgo-keyboard 0.2.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 168 kB
  • sloc: makefile: 4
file content (38 lines) | stat: -rw-r--r-- 1,147 bytes parent folder | download
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
package internal

// See: https://en.wikipedia.org/wiki/C0_and_C1_control_codes
const (
	KeyNull                   = 0
	KeyStartOfHeading         = 1
	KeyStartOfText            = 2
	KeyExit                   = 3 // ctrl-c
	KeyEndOfTransimission     = 4
	KeyEnquiry                = 5
	KeyAcknowledge            = 6
	KeyBELL                   = 7
	KeyBackspace              = 8
	KeyHorizontalTabulation   = 9
	KeyLineFeed               = 10
	KeyVerticalTabulation     = 11
	KeyFormFeed               = 12
	KeyCarriageReturn         = 13
	KeyShiftOut               = 14
	KeyShiftIn                = 15
	KeyDataLinkEscape         = 16
	KeyDeviceControl1         = 17
	KeyDeviceControl2         = 18
	KeyDeviceControl3         = 19
	KeyDeviceControl4         = 20
	KeyNegativeAcknowledge    = 21
	KeySynchronousIdle        = 22
	KeyEndOfTransmissionBlock = 23
	KeyCancel                 = 24
	KeyEndOfMedium            = 25
	KeySubstitution           = 26
	KeyEscape                 = 27
	KeyFileSeparator          = 28
	KeyGroupSeparator         = 29
	KeyRecordSeparator        = 30
	KeyUnitSeparator          = 31
	KeyDelete                 = 127
)