xinput

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 8 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) Dump1 added in v1.3.11

func (km *KMap) Dump1() string

func (*KMap) Dump2 added in v1.3.11

func (km *KMap) Dump2() string

func (*KMap) Lookup

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

func (*KMap) ReadMapping added in v1.3.11

func (km *KMap) ReadMapping() 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) ReadMapping added in v1.3.11

func (xi *XInput) ReadMapping() error

Jump to

Keyboard shortcuts

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