GithubHelp home page GithubHelp logo

fc-kb's Introduction

FC-KB diy keyboard software for milk-v duo

A keyboard software meant to run on a Milk-V duo.

Features

  • Modifier key input
  • Normal key inputs
  • (partial) LED support
  • N-Key rollover (The currently included hid descriptor "only" supports 80 key rollover but adapting to more keys would be fairly trivial)
  • Multiple bindings per key
  • Debouncing (immediate on, 5ms until key turns off)

Todo

  • RGB
  • Layer support

General project structure

kbdrv-main.c

This file contains all the program code required to scan the keyboard matrix as well as assemble and send the hid reports.

keyboard_mapping.h

This file contains all the configuration and mapping of the device you are working with. This includes the GPIO pin mapping to rows/columns, matrix to binding identifier and binding identifier to hid-modifiers/hid-usage codes.

Important notes

While this project is designed to be used with the Milk-V duo range of devices it does not work out of the box because it assumes that a USB HID gadget is configured in the UDC. To achieve this you need to modify the /etc/usb-run.sh script to be able to probe usb-hid and recompile the kernel to enable the USB HID gadget support and configuration of this feature through configfs.

The project should also be easily portable to any linux device with a configured USB HID gadget and GPIO support through wiringX.

fc-kb's People

Contributors

ffs2309 avatar

Watchers

 avatar

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.