Keyboard: Difference between revisions - Pyra Wiki

(→‎Keyboard: keymat)
(Adding hardware links)
Line 1: Line 1:
= Keyboard =
= Keymats =
[[Image:Pyra_KB_light.jpeg | 600px]]
[[Image:Pyra_KB_light.jpeg | 600px]]
* '''[[Pyra]]'s Keyboard Lighted by one of the Prototype Boards.'''
* '''[[Pyra]]'s Keyboard Lighted by one of the Prototype Boards.'''
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 37:


= Keyboard Backlight =
= Keyboard Backlight =
can be controlled in intensity by /sys/class/backlight device
 
Can be controlled in intensity by /sys/class/backlight device
 
Hardware:
    [https://www.mouser.co.uk/ProductDetail/Texas-Instruments/LM3699YFQR?qs=%2Fha2pyFaduhXZavS7V%2FNrkiaZMAdUsvTTAVYSC9Hwm52N743kXz%2FJw%3D%3D LM3699YFQ] LED Lighting Driver - with PWM brightness control connected to the "KEYPAD-BL" line of the CPU module
    [https://www.mouser.co.uk/ProductDetail/OSRAM-Opto-Semiconductors/LW-Q38E-Q1OO-3K6L-1?qs=%2Fha2pyFaduhwSRLeTGlQhNJ8TM29iUaKFfvospjTD6WhzoCGchmx5g%3D%3D LW Q38E-Q1OO-3K6L-1] - 24 x White 0603 size LEDs

Revision as of 15:15, 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

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

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

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
Back
Top