8000 GitHub - erichlf/Hemiola
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

erichlf/Hemiola

Repository files navigation

Hemiola

About Hemiola

Hemiola aims to turn any n-key rollover keyboard into a chordable keyboard. Instead of typing one letter at a time one would press multiple letters at the same time and the letters would show as if one had typed the letters in order. The only physical requirements are a usb keyboard and a Rapberry Pi Zero. There are no dependency requirements on the OS side of things.

Building Hemiola

Build Dependencies

  • C++17 compiler, GCC >= v8, Clang >= v7, MSVC >= 2017
  • CMake >= v3.12
  • ICU4C

We also provide a Dockerfile and devcontainer for convenience.

Building on GNU/Linux and Unixes

We first need to download the dependencies. Some may already be preinstalled.

For Ubuntu and Debian:

sudo apt install gcc git cmake libicu-dev

To get the source code clone the repository

git clone --recurse-submodules https://github.com/erichlf/Hemiola.git

To build Hemiola

cd Hemiola
mkdir build
cmake -B ./build .
cmake --build ./build
cmake --install ./build

Setting Up HID

Dependencies

  • Raspberry Pi Zero Running Raspberry Pi OS
  • Micro USB Cable

Setting up Raspberry Pi

ssh pi@<ip-address-of-rpi>

sudo apt install git

git clone https://github.com/erichlf/hemiola
cd hemiola/hid

chmod +x install.sh
chmod +x enableModules.sh

sudo ./install.sh

sudo shutdown

Now plug your raspberry pi into your computer. To test that things are working:

  1. on the machine connected to the rpi open a text editor and let it sit open
  2. on a separate machine from the one that is connected to your rpi
ssh pi@<ip-address-of-rpi>

cd hemiola/hid
sudo python3 testHID.py
  1. on the machine connected to the rpi you should see

Hemiola works in the editor that you left open.

Running Hemiola

To run hemiola one simply can execute the following command on your rpi:

sudo ./hemiola/build/hemiola

Currently logging is output to /var/log/hemiola/hemiola.log

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0