Keyboard

From Pyra Wiki
Revision as of 12:23, 28 May 2021 by the_marshal (talk | contribs) (Make first section a gallery to condense the page a bit, added on picture, misc cleanup / minor changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Keymats

Matrix and Keycodes

Keyboard matrix and button assignment

  • Fixed by hardware: buttons and maeanders
  • Connected to specific gpios and matrix lines
  • Describes specific hardware revision

Software assignment by Linux Kernel

  • Describes KEY_code for specific software revision (here letux-4.5.0 and later)
  • Assumes specific hardware revision (here 5.0/5.1)
  • Default Device Tree pyra-mainboard.dtsi
  • Can be changed by modified device tree

TCA8418 Matrix

  • Hardware: TCA8418 - I2C Controlled Keypad Scan IC With Integrated ESD Protection

Keyboard Backlight

Intensity can be controlled using /sys/class/backlight

Hardware:

  • LM3699YFQ LED Lighting Driver - with PWM brightness control connected to the "KEYPAD-BL" line of the CPU module
  • LW Q38E-Q1OO-3K6L-1 - 24 x White 0603 size LEDs