GizStack
View .mdOpen in ChatGPTOpen in Claude

gizlang/keys

the modifier bits of an input event, one set for a native window (gizlang/window) and a page's events (gizapp/client/page).

gizlang
import * as Keys from "gizlang/keys";

Constants

SHIFT

gizlang
const SHIFT = 1

The Shift key is held.

CONTROL

gizlang
const CONTROL = 2

The Control key is held.

ALT

gizlang
const ALT = 4

The Alt (Option) key is held.

META

gizlang
const META = 8

The Meta (Command, Windows) key is held.