modulepackage
0.0.0-20211004153227-1c3628e74d0f
Repository: https://github.com/erikgeiser/coninput.git
Documentation: pkg.go.dev
# README
coninput
Go library for input handling using Windows Console API
# Packages
No description provided by the author
# Constants
Valid values for ControlKeyState.
Valid values for EventFlags.
Valid values for EventFlags.
Valid values for ControlKeyState.
FocusEventType is the event type for a FocusEventRecord (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
Valid values for ButtonState.
Valid values for ButtonState.
Valid values for ButtonState.
Valid values for ButtonState.
KeyEventType is the event type for a KeyEventRecord (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
Valid values for ControlKeyState.
Valid values for ControlKeyState.
MenuEventType is the event type for a MenuEventRecord (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
Valid values for EventFlags.
Valid values for EventFlags.
Valid values for EventFlags.
MouseEventType is the event type for a MouseEventRecord (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
Valid values for ControlKeyState.
Valid values for ControlKeyState.
Valid values for ControlKeyState.
Valid values for ControlKeyState.
Valid values for ButtonState.
Valid values for ControlKeyState.
Valid values for ControlKeyState.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WindowBufferSizeEventType is the event type for a WindowBufferSizeEventRecord (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
# Structs
Coord represent the COORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/coord-str).
FocusEventRecord represent the FOCUS_EVENT_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/focus-event-record-str).
InputRecord corresponds to the INPUT_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/input-record-str).
KeyEventRecord represent the KEY_EVENT_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/key-event-record-str).
MenuEventRecord represent the MENU_EVENT_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/menu-event-record-str).
MouseEventRecord represent the MOUSE_EVENT_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str).
UnknownEvent is generated when the event type does not match one of the following types: TypeFocusEventRecord, TypeKeyEventRecord, TypeMouseEventRecord, TypeWindowBufferSizeEvent, TypeMenuEventRecord and UnknownEvent.
WindowBufferSizeEventRecord represent the WINDOW_BUFFER_SIZE_RECORD structure from the Windows console API (see https://docs.microsoft.com/en-us/windows/console/window-buffer-size-record-str).
# Interfaces
EventRecord represents one of the following event types: TypeFocusEventRecord, TypeKeyEventRecord, TypeMouseEventRecord, TypeWindowBufferSizeEvent, TypeMenuEventRecord and UnknownEvent.
# Type aliases
ButtonState holds the state of the mouse buttons (see https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str).
ControlKeyState holds the state of the control keys for key and mouse events (see https://docs.microsoft.com/en-us/windows/console/key-event-record-str and https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str).
EventFlags specifies the type of a mouse event (see https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str).
EventType denots the type of an event.
EventUnion is the union data type that contains the data for any event.
VirtualKeyCode holds a virtual key code (see https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes).