input

package module
v0.0.0-...-0afd02e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2014 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KEY_HOME         = 102 | 0x100
	KEY_UP           = 103 | 0x100
	KEY_PAGEUP       = 104 | 0x100
	KEY_LEFT         = 105 | 0x100
	KEY_RIGHT        = 106 | 0x100
	KEY_END          = 107 | 0x100
	KEY_DOWN         = 108 | 0x100
	KEY_PAGEDOWN     = 109 | 0x100
	KEY_INSERT       = 110 | 0x100
	KEY_DELETE       = 111 | 0x100
	KEY_MUTE         = 113 | 0x100
	KEY_VOLUMEDOWN   = 114 | 0x100
	KEY_VOLUMEUP     = 115 | 0x100
	KEY_POWER        = 116 | 0x100
	KEY_PAUSE        = 119 | 0x100
	KEY_STOP         = 128 | 0x100
	KEY_MENU         = 139 | 0x100
	KEY_BACK         = 158 | 0x100
	KEY_FORWARD      = 159 | 0x100
	KEY_NEXTSONG     = 163 | 0x100
	KEY_PLAYPAUSE    = 164 | 0x100
	KEY_PREVIOUSSONG = 165 | 0x100
	KEY_REWIND       = 168 | 0x100
	KEY_SCROLLUP     = 177 | 0x100
	KEY_SCROLLDOWN   = 178 | 0x100
	KEY_PLAY         = 207 | 0x100
	KEY_FASTFORWARD  = 208 | 0x100
	KEY_BASSBOOST    = 209 | 0x100
	KEY_SEARCH       = 217 | 0x100
	KEY_ENTER        = 13
	KEY_ESC          = 27
	KEY_BACKSPACE    = 8
)

Variables

This section is empty.

Functions

func FindInputDevices

func FindInputDevices() []string

func ProcessInputEvents

func ProcessInputEvents(in chan *evdev.InputEvent, out chan rune, quit chan int)

func StartListening

func StartListening(out chan *evdev.InputEvent)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL