Giter Site home page Giter Site logo

kbdisplay's Introduction

kbdisplay

This is essentially a Python clone of NohBoard which runs on Linux. Like distplay, I made this because there wasn't any pre-existing Linux-compatible keyboard input displays that I could find.

Note that this is not multiplatform, this will only run on Linux. If you're on Windows, just use the real NohBoard.

This works by reading the output of xinput test-xi2 --root, so, y'know, that's cool. Or maybe not cool. I don't know. I'm not going to say this is well programmed, because that would probably be a huge lie.

How to use

Obviously, since this is a Python program, you'll need to first install Python with your package manager. You will also need to install Tk since that's what the program is using for its graphical interface.

๐Ÿ›ˆ Note that apparently some Linux distributions don't include the Python tkinter module by default, so you may need to install that seperately; on Ubuntu this would be the python3-tk package.

In order to run this, you need to run main.py with one argument, supplying a layout file. These are json files with a pretty simple syntax - it shouldn't be too hard to figure it out. For demonstration purposes, layouts for the default bindings of Distance and Celeste are included in this repo (in the layouts folder). If you want to add more, fork and submit a PR, or something.

For your convenience, I've included a script, identify-keys.py, that will allow you to find out what keycode each key is mapped to. It's missing a few of them, and was designed in mind with my UK keyboard, but it will work for the majority of the keys.

kbdisplay's People

Contributors

tiyenti 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.