keyboardmap

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyboardMap = map[string]int{}/* 151 elements not displayed */
View Source
var LegacyKeyboardMap map[int]string

Functions

func GetLegacyKey

func GetLegacyKey(key int) string

func IsShiftedKey added in v2.15.0

func IsShiftedKey(name string) (baseCode int, ok bool)

IsShiftedKey reports whether name maps to a shift-modified key (negative code). If so, it returns the positive base keycode that must be pressed while LeftShift is held. Returns 0, false for unshifted keys, braced specials that are not shift-modified, and unknown names.

func SetupLegacyKeyboardMap

func SetupLegacyKeyboardMap()

Types

This section is empty.

Jump to

Keyboard shortcuts

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