Giter VIP home page Giter VIP logo

keyboard's Introduction

This repo is really basic firmware for testing a custom mechanical keyboard. Right now it is configured for my 7x4 matrix, but that is defined only by the ROWS and COLS constants at the top and the defined pins. It should theoretically work for any size layout.

Furthermore, it may require pulldown resistors connecting the rows to ground. Before adding those I was having issues involving pins spontaneously reading high when they shouldn't. It may not be neccesarry, but if you don't use them and have issues, try adding them.

For development, I used a teensy 3.0, although it should run identially on a 3.1 and should run (possibly with minor modifications) on a 2.0 as well.

keyboard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

keyboard's Issues

Modifiers only work on keys read prior to them in the matrix.

I quite honestly have no idea why this happens. Initially I thought it was only reading keys in the same column, but then I moved my shift key to the second column and it worked on both the first and second columns.

Currently I have an ugly hack set up to check my shift key again at the very end, ensuring that it is read last. This is really gross, makes the code less flexible, and will likely break if two modifiers are used together (ctrl + shift + esc, for example).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.