semicongine/input

Search:
Group by:

Procs

proc actionDown[T](action: T): bool
proc actionPressed[T](action: T): bool
proc actionReleased[T](action: T): bool
proc actionValue[T](action: T): float32
proc hasFocus(): bool {....raises: [], tags: [], forbids: [].}
proc keyIsDown(key: Key): bool {....raises: [], tags: [], forbids: [].}
proc keyWasPressed(): bool {....raises: [], tags: [], forbids: [].}
proc keyWasPressed(key: Key): bool {....raises: [], tags: [], forbids: [].}
proc keyWasReleased(key: Key): bool {....raises: [], tags: [], forbids: [].}
proc loadActionMapping[T]()
proc lockMouse(value: bool) {....raises: [], tags: [], forbids: [].}
proc mapAction[T: enum](action: T; button: MouseButton)
proc mapAction[T: enum](action: T; key: Key)
proc mapAction[T: enum](action: T; keys: openArray[Key | MouseButton])
proc mouseIsDown(button: MouseButton): bool {....raises: [], tags: [], forbids: [].}
proc mouseMove(): Vec2i {....raises: [], tags: [], forbids: [].}
proc mousePosition(): Vec2f {....raises: [], tags: [], forbids: [].}
proc mousePositionPixel(): Vec2i {....raises: [], tags: [], forbids: [].}
proc mousePressedButtons(): set[MouseButton] {....raises: [], tags: [], forbids: [].}
proc mouseReleasedButtons(): set[MouseButton] {....raises: [], tags: [],
    forbids: [].}
proc mouseWasPressed(): bool {....raises: [], tags: [], forbids: [].}
proc mouseWasPressed(button: MouseButton): bool {....raises: [], tags: [],
    forbids: [].}
proc mouseWasReleased(): bool {....raises: [], tags: [], forbids: [].}
proc mouseWasReleased(button: MouseButton): bool {....raises: [], tags: [],
    forbids: [].}
proc mouseWheel(): float32 {....raises: [], tags: [], forbids: [].}
proc saveCurrentActionMapping() {....raises: [DbError, OSError, IOError, KeyError,
    ValueError], tags: [DbEffect, ReadIOEffect, WriteDirEffect, ReadDirEffect,
                        ReadEnvEffect, ReadDbEffect, WriteDbEffect,
                        WriteIOEffect], forbids: [].}
proc unmapAction[T: enum](action: T)
proc unmapAction[T: enum](action: T; button: MouseButton)
proc unmapAction[T: enum](action: T; key: Key)
proc updateInputs(): bool {....raises: [], tags: [], forbids: [].}
proc windowIsMinimized(): auto {....raises: [], tags: [], forbids: [].}
proc windowWasResized(): auto {....raises: [], tags: [], forbids: [].}