a simple on screen keyboard for fbdev
  • C 95%
  • Roff 4.1%
  • Makefile 0.9%
Find a file
2026-08-05 21:56:42 +00:00
.gitignore initial commit 2017-05-23 17:14:45 +02:00
COPYING initial commit 2017-05-23 17:14:45 +02:00
fbkeyboard.1 added manpage 2017-06-10 10:09:53 +02:00
fbkeyboard.c added option to rotate touchscreen independent of rotating the display 2026-08-05 21:17:38 +00:00
Makefile Replace obsolete freetype-config with pkg-config 2020-06-06 09:05:01 +02:00
README Update README 2026-08-05 21:56:42 +00:00

fbkeyboard

This is a framebuffer softkeyboard for use on devices with touchscreen input like smartphones.
It was designed for the linux text console.
It uses freetype2 lib to render fonts.
Keystrokes will be send to the kernel using uinput.

How to build:
Just run make in this directory.

How to run:
# ./fbkeyboard [-h] [-d inputdevice] [-f font] [-r display rotation] [-t touchscreen rotation]
inputdevice has to be the device node of the touchscreen, eg: /dev/input/event1.
If no inputdevice was given, the first device in /dev/input with absolute axes support will be used.
font has to be a ttf file. If no font was given, "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" will be used.
rotation is a number between 0-3, 0 = normal, 1 = rotate CW, 2 = rotate 180 degrees, 3 = rotate CCW

Useful tips:
Use stty to adjust the console size to avoid overlapping the console and the keyboard.
# stty rows <number-of-rows>

Originally from https://github.com/ph0nix-foss/fbkeyboard