class Nya::Input::KeyboardEvent

Overview

Wrapper for SDL KeyboardEvent

Defined in:

nya/input/events.cr

Constructors

Instance Method Summary

Instance methods inherited from class Nya::EventWrapper(LibSDL2::KeyboardEvent)

inner : T inner, inner=(inner : T) inner=

Constructor methods inherited from class Nya::EventWrapper(LibSDL2::KeyboardEvent)

new(inner : T) new

Instance methods inherited from class Nya::Event

status : Nya::EventStatus status, status=(status : Nya::EventStatus) status=

Class methods inherited from class Nya::Event

send(name, event : Event) send, send_async(name, e : Event) send_async, subscribe(*events, handler)
subscribe(*events, &handler : Event -> )
subscribe
, unsubscribe(handler : EventHandler)
unsubscribe(id : Int64)
unsubscribe

Constructor Detail

def self.new(inner) #

[View source]

Instance Method Detail

def keycode(*args, **options) #

[View source]
def keycode(*args, **options, &) #

[View source]
def scancode(*args, **options) #

[View source]
def scancode(*args, **options, &) #

[View source]