From 5cd0f77091ab41cdcd0261d9e79ea778869441d8 Mon Sep 17 00:00:00 2001 From: Frank Adams Date: Fri, 30 Nov 2018 23:53:41 -0800 Subject: [PATCH] Add files via upload --- .../Dell_Latitude_X1/Dell_X1_Keyboard.ino | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Example_Keyboards/Dell_Latitude_X1/Dell_X1_Keyboard.ino b/Example_Keyboards/Dell_Latitude_X1/Dell_X1_Keyboard.ino index 0a47428..c16b62f 100644 --- a/Example_Keyboards/Dell_Latitude_X1/Dell_X1_Keyboard.ino +++ b/Example_Keyboards/Dell_Latitude_X1/Dell_X1_Keyboard.ino @@ -1,15 +1,25 @@ -// This software is in the public domain -// It implements a Dell Latitude X1 Laptop Keyboard Controller using a Teensy LC on +/* Copyright 2018 Frank Adams + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +// This software implements a Dell Latitude X1 Laptop Keyboard Controller using a Teensy LC on // a daughterboard with a 24 pin FPC connector. The keyboard part number is 0M6607. // This routine uses the Teensyduino "Micro-Manager Method" to send Normal and Modifier -// keys over USB. Multi-media keys are sent with keyboard press and release functions. +// keys over USB. Multi-media keys are are sent with keyboard press and release functions. // Description of Teensyduino keyboard functions is at www.pjrc.com/teensy/td_keyboard.html // // Revision History // Initial Release Nov 15, 2018 // // -#define MODIFIERKEY_FN 0x8f // give Fn key a fake HID code +#define MODIFIERKEY_FN 0x8f // give Fn key a HID code #define CAPS_LED 13 // Teensy LED shows Caps-Lock // const byte rows_max = 16; // sets the number of rows in the matrix