Difference: RaspiElfKeypad (7 vs. 8)

Revision 82018-05-20 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 14 to 14
 
Changed:
<
<
>
>
 

Hardware

|
gal 2000 G84-4700 2 persp.jpg
Cherry Keypad G84-4700, original key caps
|
hex-keypad.jpg
Hex Keypad
Changed:
<
<
Microdot pHAT.jpg
Microdot_pHAT on Raspberry Pi Zero
>
>
keypad-display.jpg
Keypad and display

Short Mode Key Keycode Notes
IN Input I, [CR] 96  
LD Load L, + 78  
R/S Run/Wait R, . 83 R/S is a reminiscence of HP pocket calculators
MP Memory Protect M, - 74  
SW Switch/Keypad S, [BS] 14  
 

Software for the Raspberry Pi

Changed:
<
<
No special software needed. Keyboard drivers are already built in.
>
>
No special software needed. Keyboard drivers are already built in Raspbian.

Here some ideas if you want to customize your own keypad.

 
Changed:
<
<
Mapping scancodes to keycodes is universal and not specific to Linux console or Xorg, which means that changes to this mapping will be effective in both.
>
>
pi@cosmac:~/elf/RaspiElf/tools $ $ test-key /dev/input/by-id/usb-046a_0014-event-kbd
Code: 82 0x52, value 1 key 0 pressed
Code: 82 0x52, value 0 key 0 released 
Code: 79 0x4f, value 1 key 1 pressed
Code: 79 0x4f, value 0 key 1 released
Code: 80 0x50, value 1 key 2 pressed
Code: 80 0x50, value 0 key 2 released
Code: 81 0x51, value 1 key 3 pressed
Code: 81 0x51, value 0 key 3 released
Code: 75 0x4b, value 1 key 4 pressed
Code: 75 0x4b, value 0 key 4 released
Code: 76 0x4c, value 1 key 5 pressed
Code: 76 0x4c, value 0 key 5 released
^C
 
pi@cosmac:~/elf/RaspiElf/tools $ udevadm info /dev/input/by-path/*-usb-*-kbd

Line: 67 to 92
 E: XKBMODEL=pc105
Added:
>
>
Mapping scancodes to keycodes is universal and not specific to Linux console or Xorg, which means that changes to this mapping will be effective in both.
 showkey --scancodes

evdev:input:bvpe-

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback