This repo contains all the files that are needed to make a USB keyboard/touchpad as well as a KVM from an old laptop.
See the USB keyboard video at https://vimeo.com/458595950
See the Pi KVM video at https://vimeo.com/458616562
See the IBM Thinkpad 380ED Keyboard and Trackpoint Conversion to USB video at https://vimeo.com/458669376
See the keyboard "Instructable" at https://www.instructables.com/id/How-to-Make-a-USB-Laptop-Keyboard-Controller/
See the KVM "Instructable" at https://www.instructables.com/id/DIY-Portable-KVM-Crashcart-From-Recycled-Laptop-Pr/
See the IBM Thinkpad 380ED to USB project description at https://hackaday.io/project/171439-ibm-thinkpad-380ed-keyboardtrackpoint-to-usb
Marcel's Python matrix generator program will work for the Teensy LC, 3.2, and 4.0. His repo is here:
All files and folders in my repo are listed below:
See Readme file for a list of boards
Keyboard_with_number_pad.txt Lists all keys on a keyboard with a number pad. Keyboard_without_number_pad.txt Lists all keys on a keyboard without a number pad.
Matrix_Decoder_LC.ino Teensyduino file for Teensy LC continuity tester. Matrix_Decoder_3p2.ino Teensyduino file for Teensy 3.2 continuity tester. Matrix_Decoder_4p0.ino Teensyduino file for Teensy 4.0 continuity tester. Matrix_Decoder_2pp.ino Teensyduino file for Teensy ++2.0 continuity tester. Matrix_Decoder_LC_alternate.ino Alternate code allows exclusion of grounded pins. Matrix_Decoder_3p2_alternate.ino Alternate code allows exclusion of grounded pins. Matrix_Decoder_4p0_alternate.ino Alternate code allows exclusion of grounded pins. Matrix_Decoder_French Folder has above files but sends a shift key along with the number key.
Touchpad_3p2.ino Teensyduino file for Teensy 3.2 touchpad controller. Touchpad_LC.ino Teensyduino file for Teensy LC touchpad controller. Touchpad_pinout_testing.pdf Describes how to find the clock, data, power, and ground.
Instructions for Modifying the Teensyduino LC code.pdf PDF file with LC instructions. Instructions for Modifying the Teensyduino 3p2 code.pdf PDF file with 3.2 instructions. Instructions for Modifying the Teensyduino 4p0 code.pdf PDF file with 4.0 instructions. Laptop_Keyboard A separate Folder for each laptop keyboard, containing the following: Text file with FPC pin connections. The results from running the Matrix_decoder code. PDF file with key matrix table and any additional information. Teensyduino code that makes a simple homebrew USB keyboard routine.