Documentation
¶
Overview ¶
Package device include device related types
Index ¶
Constants ¶
View Source
const ( MouseLeftButton = MouseButton(0) // MouseLeftButton is the left mouse button MouseRightButton = MouseButton(1) // MouseRightButton is the right mouse button MouseMiddleButton = MouseButton(2) // MouseMiddleButton is the middle mouse button )
View Source
const ( FirstKey = Key(iota) // FirstKey is the initial value for keys KeyLeft // KeyLeft if the left cursor key KeyRight // KeyRight if the right cursor key KeyUp // KeyUp if the up cursor key KeyDown // KeyDown if the down cursor key KeySpace // KeySpace if the space cursor key KeyAltLeft // KeySpace if the left alt key KeyCtrlLeft // KeyCtrlLeft if the left control key KeyAltRight // KeyAltRight if the right alt key KeyCtrlRight // KeyCtrlRight if the right control key TotalKeys // TotalKeys is the total number of keys )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.