Keyboard: Difference between revisions

From Pyra Wiki
Jump to navigation Jump to search
No edit summary
(Make first section a gallery to condense the page a bit, added on picture, misc cleanup / minor changes)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:Pyra_KB_light.jpeg | 600px]]
= Keymats =
* '''[[Pyra]]'s Keyboard Lighted by one of the Prototype Boards.'''
 
[[Image:PandoraAndPyraFull.jpg | 600px]]
<gallery>
* '''Comparison between [[Pyra]]'s and [[OpenPandora]]'s Keymat '''
Pyra putting in the keymat.jpg | Putting in the Pyra keymat
Pyra_KB_light.jpeg | Pyra's keyboard Lighted by one of the Prototype Boards
PandoraAndPyraFull.jpg | Comparison: Pyra vs [[OpenPandora|Pandora]]'s Keymat
Pyra-Keyboard.png | Keymat texture used to generate the renders
</gallery>
 
= 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
 
[[Image:PyraKeyboardMaeanderConnection.png | 600px]]
[[Image:PyraKeymatAndButtonsFunctions.png | 600px]]
 
== 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
 
[[Image:PyraKeycodeAssignment.png | 600px]]
 
== TCA8418 Matrix ==
 
[[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 =
 
Intensity can be controlled using '''/sys/class/backlight'''
 
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

Latest revision as of 12:23, 28 May 2021

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