Shroomerian / QInput

A small input overlay app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QInput

What is it?

QInput is a simple QT application which displays your keyboard input globally. This project was inspired by GitHub - ThoNohT/NohBoard: A Keyboard Visualizer and GitHub - univrsal/input-overlay: Show keyboard, gamepad and mouse input on stream and it's currently working on Linux and Windows

Current State

The current state of the project is in development and it's only in its initial stage. As of current the application needs some tweaking , mouse support and only supports the en-eu layout.

Installation

git clone https://github.com/Shroomerian/QInput.git && cd QInput
mkdir build && cd build  
cmake -S ..
cmake --build . 

Dependencies and usage

This program uses:

How to create your own layout?

As of right now layout creation is very limited and not refined but it's still available as an option.

In order to create your own layout you will require:

  • GIMP

  • All of the keys separated into individual PNG files.

And these are the specific steps you will need to take to import your own layout:

  1. Create your own layout by dragging your key PNG files unto the screen. Layer Groups can be used for convenience but the important part is that the individual layers MUST be named exactly the same as the files in question.

  2. Install LayerCoordinates.py as a plugin in GIMP, in order to do so you need to find where GIMP stores plugins Edit->Preferences->Folders->Plug-ins and then copy the file into any of those directories. You can also open the python file in any text editor, copy it and paste it into the Filters->Python-Fu->Console.

The Python plugin will generate a layer-map.txt file which will be used by the program to set the position of the keys.
  1. Import your individual key PNG files into their respective folders (Active and Inactive)

  2. Enjoy!

About

A small input overlay app

License:GNU General Public License v3.0


Languages

Language:C 96.3%Language:C++ 2.3%Language:CMake 1.1%Language:Python 0.3%