exp: golang.org/x/exp/shiny/driver/internal/x11key Index | Files

package x11key

import "golang.org/x/exp/shiny/driver/internal/x11key"

x11key contains X11 numeric codes for the keyboard and mouse.

Index

Package Files

x11key.go

Constants

const (
    ShiftMask   = 1 << 0
    LockMask    = 1 << 1
    ControlMask = 1 << 2
    Mod1Mask    = 1 << 3
    Mod2Mask    = 1 << 4
    Mod3Mask    = 1 << 5
    Mod4Mask    = 1 << 6
    Mod5Mask    = 1 << 7
    Button1Mask = 1 << 8
    Button2Mask = 1 << 9
    Button3Mask = 1 << 10
    Button4Mask = 1 << 11
    Button5Mask = 1 << 12
)

These constants come from /usr/include/X11/X.h

func KeyModifiers Uses

func KeyModifiers(state uint16) (m key.Modifiers)

type KeysymTable Uses

type KeysymTable [256][2]uint32

func (*KeysymTable) Lookup Uses

func (t *KeysymTable) Lookup(detail uint8, state uint16) (rune, key.Code)

Package x11key imports 1 packages (graph) and is imported by 2 packages. Updated 2017-10-03. Refresh now. Tools for package owners.