Update HP_V4000_Keyboard.ino

This commit is contained in:
Frank Adams 2018-11-18 15:19:19 -08:00 committed by GitHub
parent 5bd27cc928
commit 7a5a6808b9
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 V4000 Laptop Keyboard Controller using a Teensy LC on // It implements an HP Compaq Presario V4000 Laptop Keyboard Controller using a Teensy LC on
// a daughterboard with a 24 pin FPC connector. The keyboard part number is NSK-H3L01. // a daughterboard with a 24 pin FPC connector. The keyboard part number is NSK-H3L01.
// 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 = 16; // sets the number of rows in the matrix const byte rows_max = 16; // sets the number of rows in the matrix