VIA class of PicoRuby
Singleton methods
new
VIA.new() -> instance
Instance methods
add_mode_key
instance.add_mode_key(Symbol key_name, [Symbol | Array[Symbol] | Proc | nil, Symbol | Proc | nil, Integer?, Integer?] param) -> void
check_for_keycode_shift
instance.check_for_keycode_shift(Integer keycode) -> ( Symbol | nil )
cols_size
instance.cols_size-> Integer
define_mode_key
instance.define_mode_key(Symbol key_name, [Symbol | Array[Symbol] | Proc | nil, Symbol | Proc | nil, Integer?, Integer?] param) -> void
dynamic_keymap_get_buffer
instance.dynamic_keymap_get_buffer(Array[Integer] data) -> Array[Integer]
dynamic_keymap_get_keycode
instance.dynamic_keymap_get_keycode(Integer layer, Integer row, Integer col) -> Integer
dynamic_keymap_set_buffer
instance.dynamic_keymap_set_buffer(Array[Integer] data) -> void
dynamic_keymap_set_keycode
instance.dynamic_keymap_set_keycode(Integer layer, Integer row, Integer col, Integer keycode) -> void
expand_composite_key
instance.expand_composite_key(Symbol name) -> Array[Symbol]
get_modifier_name
instance.get_modifier_name(Integer bits) -> String
get_via_composite_keycode
instance.get_via_composite_keycode(Symbol keyname) -> Integer
init_keymap
instance.init_keymap-> void
load_mode_keys
instance.load_mode_keys-> void
prk_keycode_into_via_keycode
instance.prk_keycode_into_via_keycode(Integer | Symbol | Proc key) -> Integer
raw_hid_receive
instance.raw_hid_receive(Array[Integer] data) -> Array[Integer]
raw_hid_receive_kb
instance.raw_hid_receive_kb(Array[Integer] data) -> Array[Integer]
rows_size
instance.rows_size-> Integer
save_keymap
instance.save_keymap-> void
save_on_flash
instance.save_on_flash-> void
save_on_keyboard
instance.save_on_keyboard-> void
start!
instance.start!-> void
sync_keymap
instance.sync_keymap(?bool init)-> void
task
instance.task-> void
via_get_layer_name
instance.via_get_layer_name(Integer i) -> Symbol
via_keycode_into_keysymbol
instance.via_keycode_into_keysymbol(Integer keycode) -> Symbol
Attr accessors
kbd (accessor)
instance.kbd -> Keyboard
layer_count (accessor)
instance.layer_count -> Integer