Keyboard: Difference between revisions

From Pyra Wiki
Jump to navigation Jump to search
(Adding hardware links)
m (Put matrix link in the right place)
Line 20: Line 20:


[[Image:PyraKeymatAndButtonsFunctions.png | 600px]]
[[Image:PyraKeymatAndButtonsFunctions.png | 600px]]
Hardware: [https://www.mouser.co.uk/ProductDetail/Texas-Instruments/TCA8418RTWR?qs=%2Fha2pyFadujXlQBv9iCnJd5eVW7Nie%2FLlVVE4u4oQM9U8gDo1X%252B6xg%3D%3D TCA8418] - I2C Controlled Keypad Scan IC With Integrated ESD Protection


== Software assignment by Linux Kernel ==
== Software assignment by Linux Kernel ==
Line 35: Line 33:


[[Image:PyraTCA8418Matrix.png | 600px]]
[[Image:PyraTCA8418Matrix.png | 600px]]
Hardware: [https://www.mouser.co.uk/ProductDetail/Texas-Instruments/TCA8418RTWR?qs=%2Fha2pyFadujXlQBv9iCnJd5eVW7Nie%2FLlVVE4u4oQM9U8gDo1X%252B6xg%3D%3D TCA8418] - I2C Controlled Keypad Scan IC With Integrated ESD Protection


= Keyboard Backlight =
= Keyboard Backlight =

Revision as of 15:17, 1 April 2021

Keymats

  • Pyra's Keyboard Lighted by one of the Prototype Boards.

  • Keymat texture used to generate the renders

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

Can be controlled in intensity by /sys/class/backlight device

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