Giter VIP home page Giter VIP logo

python-keyboard's Issues

TODO: Save RGB Settings

It should be fairly straightforward to write a macro that saves the current RGB settings into a file on the CIRCUITPY drive, and modify code.py to load them at boot time. This would let you persist them across restarts without needing to edit code.py yourself.

Support MacOS 9

MacOS 9 doesn't know what to do with this thing.

It sees it as a USB HID and attaches the generic HID driver, which does nothing.

By making it a boot keyboard, I am able to get the HIDKeyboardDriver to attach to it, but it still doesn't register keystrokes.

I suspect this has something to do with the CircuitPython HID keyboard class implementing both IN and OUT endpoints; every keyboard I've tried that works with MacOS 9 has only an IN endpoint.

Next step would be to set aside the entire firmware and try a minimal CircuitPython USB HID example that builds a keyboard manually from the documented Report Descriptor and sends a repeating test pattern or something, to see what is required to get keystrokes to register.

Add caps lock and scroll lock LEDs

Unsure if it will be better to listen to OS events to update these, or to update them directly when the keys are pressed.

This will likely require modifications in the keyboard module.

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.