Update HP_DV9000_Keyboard.ino

This commit is contained in:
Frank Adams 2018-11-18 15:14:06 -08:00 committed by GitHub
parent 9f743be2c3
commit 9b5308e738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
// It implements an HP Pavilion DV9000 Laptop Keyboard Controller using a Teensy LC on // It implements an HP Pavilion DV9000 Laptop Keyboard Controller using a Teensy LC on
// a daughterboard with a 26 pin FPC connector. The keyboard part number is AEAT5U00110. // a daughterboard with a 26 pin FPC connector. The keyboard part number is AEAT5U00110.
// 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 = 18; // sets the number of rows in the matrix const byte rows_max = 18; // sets the number of rows in the matrix