Keyboard

From Pyra Wiki
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