Keyboard: Difference between revisions

From Pyra Wiki
Jump to navigation Jump to search
(Make first section a gallery to condense the page a bit, added on picture, misc cleanup / minor changes)
 
(6 intermediate revisions by 3 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|Pandora]]'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 ==
== Keyboard matrix and button assignment ==


* fixed by hardware: buttons and maeanders
* Fixed by hardware: buttons and maeanders
* connected to specific gpios and matrix lines
* Connected to specific gpios and matrix lines
* describes specific hardware revision
* Describes specific hardware revision


[[Image:PyraKeyboardMaeanderConnection.png | 600px]]
[[Image:PyraKeyboardMaeanderConnection.png | 600px]]
[[Image:PyraKeymatAndButtonsFunctions.png | 600px]]
[[Image:PyraKeymatAndButtonsFunctions.png | 600px]]


== Software assignment by Linux Kernel ==
== Software assignment by Linux Kernel ==


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


[[Image:PyraKeycodeAssignment.png | 600px]]
[[Image:PyraKeycodeAssignment.png | 600px]]
Line 27: Line 31:


[[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 =
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