constants

package
v0.0.0-...-c5d59ff Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Key0            = Key(rl.KeyZero)
	Key1            = Key(rl.KeyOne)
	Key2            = Key(rl.KeyTwo)
	Key3            = Key(rl.KeyThree)
	Key4            = Key(rl.KeyFour)
	Key5            = Key(rl.KeyFive)
	Key6            = Key(rl.KeySix)
	Key7            = Key(rl.KeySeven)
	Key8            = Key(rl.KeyEight)
	Key9            = Key(rl.KeyNine)
	KeyA            = Key(rl.KeyA)
	KeyB            = Key(rl.KeyB)
	KeyC            = Key(rl.KeyC)
	KeyD            = Key(rl.KeyD)
	KeyE            = Key(rl.KeyE)
	KeyF            = Key(rl.KeyF)
	KeyG            = Key(rl.KeyG)
	KeyH            = Key(rl.KeyH)
	KeyI            = Key(rl.KeyI)
	KeyJ            = Key(rl.KeyJ)
	KeyK            = Key(rl.KeyK)
	KeyL            = Key(rl.KeyL)
	KeyM            = Key(rl.KeyM)
	KeyN            = Key(rl.KeyN)
	KeyO            = Key(rl.KeyO)
	KeyP            = Key(rl.KeyP)
	KeyQ            = Key(rl.KeyQ)
	KeyR            = Key(rl.KeyR)
	KeyS            = Key(rl.KeyS)
	KeyT            = Key(rl.KeyT)
	KeyU            = Key(rl.KeyU)
	KeyV            = Key(rl.KeyV)
	KeyW            = Key(rl.KeyW)
	KeyX            = Key(rl.KeyX)
	KeyY            = Key(rl.KeyY)
	KeyZ            = Key(rl.KeyZ)
	KeyApostrophe   = Key(rl.KeyApostrophe)
	KeyBackslash    = Key(rl.KeyBackSlash)
	KeyBackspace    = Key(rl.KeyBackspace)
	KeyCapsLock     = Key(rl.KeyCapsLock)
	KeyComma        = Key(rl.KeyComma)
	KeyDelete       = Key(rl.KeyDelete)
	KeyDown         = Key(rl.KeyDown)
	KeyEnd          = Key(rl.KeyEnd)
	KeyEnter        = Key(rl.KeyEnter)
	KeyEqual        = Key(rl.KeyEqual)
	KeyEscape       = Key(rl.KeyEscape)
	KeyF1           = Key(rl.KeyF1)
	KeyF2           = Key(rl.KeyF2)
	KeyF3           = Key(rl.KeyF3)
	KeyF4           = Key(rl.KeyF4)
	KeyF5           = Key(rl.KeyF5)
	KeyF6           = Key(rl.KeyF6)
	KeyF7           = Key(rl.KeyF7)
	KeyF8           = Key(rl.KeyF8)
	KeyF9           = Key(rl.KeyF9)
	KeyF10          = Key(rl.KeyF10)
	KeyF11          = Key(rl.KeyF11)
	KeyF12          = Key(rl.KeyF12)
	KeyGraveAccent  = Key(rl.KeyGrave)
	KeyHome         = Key(rl.KeyHome)
	KeyInsert       = Key(rl.KeyInsert)
	KeyKP0          = Key(rl.KeyKp0)
	KeyKP1          = Key(rl.KeyKp1)
	KeyKP2          = Key(rl.KeyKp2)
	KeyKP3          = Key(rl.KeyKp3)
	KeyKP4          = Key(rl.KeyKp4)
	KeyKP5          = Key(rl.KeyKp5)
	KeyKP6          = Key(rl.KeyKp6)
	KeyKP7          = Key(rl.KeyKp7)
	KeyKP8          = Key(rl.KeyKp8)
	KeyKP9          = Key(rl.KeyKp9)
	KeyKPAdd        = Key(rl.KeyKpAdd)
	KeyKPDecimal    = Key(rl.KeyKpDecimal)
	KeyKPDivide     = Key(rl.KeyKpDivide)
	KeyKPEnter      = Key(rl.KeyKpEnter)
	KeyKPEqual      = Key(rl.KeyKpEqual)
	KeyKPMultiply   = Key(rl.KeyKpMultiply)
	KeyKPSubtract   = Key(rl.KeyKpSubtract)
	KeyLeft         = Key(rl.KeyLeft)
	KeyLeftBracket  = Key(rl.KeyLeftBracket)
	KeyMenu         = Key(rl.KeyMenu)
	KeyMinus        = Key(rl.KeyMinus)
	KeyNumLock      = Key(rl.KeyNumLock)
	KeyPageDown     = Key(rl.KeyPageDown)
	KeyPageUp       = Key(rl.KeyPageUp)
	KeyPause        = Key(rl.KeyPause)
	KeyPeriod       = Key(rl.KeyPeriod)
	KeyPrintScreen  = Key(rl.KeyPrintScreen)
	KeyRight        = Key(rl.KeyRight)
	KeyRightBracket = Key(rl.KeyRightBracket)
	KeyScrollLock   = Key(rl.KeyScrollLock)
	KeySemicolon    = Key(rl.KeySemicolon)
	KeySlash        = Key(rl.KeySlash)
	KeySpace        = Key(rl.KeySpace)
	KeyTab          = Key(rl.KeyTab)
	KeyUp           = Key(rl.KeyUp)
)

Keys

View Source
const (
	ModAltLeft      = Modifier(rl.KeyLeftAlt)
	ModAltRight     = Modifier(rl.KeyRightAlt)
	ModControlLeft  = Modifier(rl.KeyLeftControl)
	ModControlRight = Modifier(rl.KeyRightControl)
	ModShiftLeft    = Modifier(rl.KeyLeftShift)
	ModShiftRight   = Modifier(rl.KeyRightShift)
)

Modifiers

View Source
const (
	MouseButtonLeft   = MouseButton(rl.MouseLeftButton)
	MouseButtonRight  = MouseButton(rl.MouseRightButton)
	MouseButtonMiddle = MouseButton(rl.MouseMiddleButton)
)

MouseButtons

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key = int32

Key represents a keyboard key

type Modifier

type Modifier = int32

Modifier represents a keyboard modifier key

type MouseButton

type MouseButton = int32

MouseButton represents a button on a mouse

Jump to

Keyboard shortcuts

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