xinput

package
v2.0.0-...-7f6935a Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMap

type KMap struct {
	// contains filtered or unexported fields
}

Keyboard mapping

func NewKMap

func NewKMap(conn *xgb.Conn) (*KMap, error)

func (*KMap) KeysymTable

func (km *KMap) KeysymTable() string

func (*KMap) Lookup

func (km *KMap) Lookup(keycode xproto.Keycode, kmods uint16) (event.KeySym, rune)

func (*KMap) ReadTable

func (km *KMap) ReadTable() error

type XInput

type XInput struct {
	// contains filtered or unexported fields
}

func NewXInput

func NewXInput(conn *xgb.Conn) (*XInput, error)

func (*XInput) ButtonPress

func (xi *XInput) ButtonPress(ev *xproto.ButtonPressEvent) *event.WindowInput

func (*XInput) ButtonRelease

func (xi *XInput) ButtonRelease(ev *xproto.ButtonReleaseEvent) *event.WindowInput

func (*XInput) KeyPress

func (xi *XInput) KeyPress(ev *xproto.KeyPressEvent) *event.WindowInput

func (*XInput) KeyRelease

func (xi *XInput) KeyRelease(ev *xproto.KeyReleaseEvent) *event.WindowInput

func (*XInput) MotionNotify

func (xi *XInput) MotionNotify(ev *xproto.MotionNotifyEvent) *event.WindowInput

func (*XInput) ReadMapTable

func (xi *XInput) ReadMapTable() error

Jump to

Keyboard shortcuts

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