Update HP_2100_Keyboard.ino

This commit is contained in:
Frank Adams 2018-11-18 15:18:47 -08:00 committed by GitHub
parent 81a7630377
commit 5bd27cc928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
// It implements an HP Compaq Presario 2100 Laptop Keyboard Controller using a Teensy LC on // It implements an HP Compaq Presario 2100 Laptop Keyboard Controller using a Teensy LC on
// a daughterboard with a 25 pin FPC connector. The keyboard part number is AEKT1TPU011. // a daughterboard with a 25 pin FPC connector. The keyboard part number is AEKT1TPU011.
// This routine uses the Teensyduino "Micro-Manager Method" to send Normal and Modifier // This routine uses the Teensyduino "Micro-Manager Method" to send Normal and Modifier
// keys over USB. Multi-media keys are are sent with keyboard press and release functions. // keys over USB. Multi-media keys are sent with keyboard press and release functions.
// Description of Teensyduino keyboard functions is at www.pjrc.com/teensy/td_keyboard.html // Description of Teensyduino keyboard functions is at www.pjrc.com/teensy/td_keyboard.html
// //
// Revision History // Revision History
// Initial Release Nov 15, 2018 // Initial Release Nov 15, 2018
// //
// //
#define MODIFIERKEY_FN 0x8f // give Fn key a HID code #define MODIFIERKEY_FN 0x8f // give Fn key a fake HID code
#define CAPS_LED 13 // Teensy LED shows Caps-Lock #define CAPS_LED 13 // Teensy LED shows Caps-Lock
// //
const byte rows_max = 17; // sets the number of rows in the matrix const byte rows_max = 17; // sets the number of rows in the matrix