Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
Dima Marhitych edited this page Oct 17, 2023 · 3 revisions

Api to the keys module

Import it like this:

import (
    "github.com/dimkauzh/webzen/src/keys"
)

Functions

func KeyPressed(key string) -> bool

Keys

"Backspace"
"Tab"
"Enter"
"Shift"
"Control"
"Alt"
"CapsLock"
"Escape"
"Space"
"PageUp"
"PageDown"
"End"
"Home"
"ArrowLeft"
"ArrowUp"
"ArrowRight"
"ArrowDown"
"Insert"
"Delete"
"0"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"a"
"A"
"b"
"B"
"c"
"C"
"d"
"D"
"e"
"E"
"f"
"F"
"g"
"G"
"h"
"H"
"i"
"I"
"j"
"J"
"k"
"K"
"l"
"L"
"m"
"M"
"n"
"N"
"o"
"O"
"p"
"P"
"q"
"Q"
"r"
"R"
"s"
"S"
"t"
"T"
"u"
"U"
"v"
"V"
"w"
"W"
"x"
"X"
"y"
"Y"
"z"
"Z"
"F1"
"F2"
"F3"
"F4"
"F5"
"F6"
"F7"
"F8"
"F9"
"F10"
"F11"
"F12"

Clone this wiki locally