Update Dell_D630_Keyboard.ino

This commit is contained in:
Frank Adams 2018-11-18 15:16:48 -08:00 committed by GitHub
parent 2f10c86973
commit cde8f950ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
// It implements a Dell Latitude D630 Laptop Keyboard Controller using a Teensy 3.2 on // It implements a Dell Latitude D630 Laptop Keyboard Controller using a Teensy 3.2 on
// a daughterboard with a 32 pin FPC connector. The keyboard part number is DP/N 0DR160. // a daughterboard with a 32 pin FPC connector. The keyboard part number is DP/N 0DR160.
// 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