KeyboardMatrix class of PicoRuby

Type aliases

key_event

{
    row: Integer,
    col: Integer,
    pressed: bool
  }

Singleton methods

new

KeyboardMatrix.new(Array[Integer] row_pins, ?Array[Integer] col_pins) -> KeyboardMatrix

Instance methods

debounce_ms

instance.debounce_ms() -> Integer

debounce_ms=

instance.debounce_ms=(Integer ms) -> Integer

scan

instance.scan() -> key_event?

start

instance.start() { (key_event) -> void } -> void
Tags: class