Coder Social home page Coder Social logo

keyboard's Introduction

SOGL & Canvas keyboard

..This is not limited to these languages only though - go in generator/kbd.txt and modify as you like.

The LUA macros part of this is mostly taken from Tarans video on Linus Tech Tips, and the code is taken from here. Go thank him for the heart of this project!

This, however, doesn't only support keys on an extra keyboard - it has a single keyboard mode too.

Geting started

Linux:

Note that the Linux version is still in development, only has the alt+ mode and is very slow and horrible, but it (kind of) works.

  • install xclip, xbindkeys and xdotool
  • run the .sh file of the language you want.

Windows:

  • Get Autohotkey 2.0. Then, either

  • go multi keyboard:

    1. get LuaMacros here
    2. open luaMacros.lua with that
    3. launch one of the multiKeyboard.ahk files
  • or use a single keyboard:

    1. launch one of the singleKeyboard.ahk files

You can try to use both at the same time, but be aware, problems might arise.

To modify the keyboard layouts, you'll need to get Processing, and edit generator/kbd.txt. Then, after running generator.pde in Processing, the files should be updated (you'll need to re-launch them though.)

The Windows version contains a box drawing character creator, which uses a part of MarkLodato's JavaScript Box Drawing Library - press alt+Numpad5 (or just Numpad5 if on the 2nd keyboard) to enter the box drawing mode, then click Numpad2/4/6/8 to add lines to the corresponding direction, and finish with another click on Numpad5 (alt not required). Clicks on the corner numbers count for the two closest directions.

examples:

click count line type examples
1 regular line ╵│─┼
2 double line ╚╬╣
3 thick line ┣╋╸

keyboard's People

Contributors

dzaima avatar

Watchers

 avatar  avatar  avatar

keyboard's Issues

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.