Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I'm blown away at the quality of the readme :-)

In the demo, how did you get the key press indicator to show? I haven't seen that before, but it's a wonderful addition. And may I ask what you used to record it?



sort by: page size:

Off topic a bit, but what were you using to show the keypresses?

KeyPress OSD is the first application I developed. I learned the basics of coding with this one, in AHK. I developed it, because I needed something to help me see easier what I type in small text fields and help me use the computer easier. I found no application out there, in the summer of 2017, that can display an entire text line, as one types. All of the screencast apps show just one character at a time.

KPO is an application designed for screencasting and tutorials that displays keyboard keys and mouse clicks on-screen. With KPO you can easily show your viewers what keys and mouse clicks you are using, making it perfect for tutorials and demonstrations. Unlike other similar applications, it offers unique features no other application has. KeyPress OSD does not require any installation, making it easy to use on any computer. Simply download the application, run it, and start screencasting.

Two editions are available: Commercial edition: https://keypressosd.com/

Freeware, open source: https://github.com/marius-sucan/KeyPress-OSD

And yes, before anyone comes at me for the shameless plug, I posted this here because I want to make my own application a bit more known, because it really has some unique features, and because it is my «hello world» app, which turned into something more, and I have put into it a lot of efforts.

Critique and feedback, welcomed.

Best regards, Marius.


Interesting! What software did you use for that? And how did you set your keyboard up?

Update: the README now describes the available key bindings and gives more usage examples.

Very nice.

What API is used to track Shift/Ctrl/Alt keys state?


The keystrokes are user-configurable. Both in-game and in a human-readable text format.

You can actually read keypresses from /dev/input/eventN to make a keylogger, I wrote a simple one in lua.

It's just like vi, for whatever that's worth to anyone. It also has "transient", which shows you what the key sequence you've input so far will do and lets you customize it.

if you run QMK & have a Teensy board; https://precondition.github.io/qmk-heatmap

if you don't, https://github.com/suurjaak/InputScope ... you can even track key presses per app!


Nice to hear, thank you! I just added navigation via the HJKL keys. Btw, you can also use WASD to navigate.

Yeah in retrospect I really should have added something like a overlay so it was possible to see what keys I pressed.

Thank you! I'm afraid we don't have a configurable keymap yet.

Do you have a hosted version of that source code somewhere? I have been thinking about doing this with my own keyboard at some point.

That's really interesting stuff.

I've got a hobby project that I work on on and off that's similar (although I'm a vim guy no evil mouse clicks) with a heavy org-mode influence. Some of the features you demo in your screencasts are inspired.

I'll be following Xiki closely and probably stealing some of your ideas for my own project.

Good work, I'm glad to see people experimenting with new ideas in modern keyboard based power user interfaces.


thanks paul, but this only shows single key binding. I was curious if there were work or future work to support key sequences (Ctrl-x Alt-h v).

I haven't C-x C-f'd much since installing that and adding keybindings to it. Amazing.

You could have it MITM between your keyboard and computer. Depending on the mode it records your key presses to an entry, or replays an entry. Otherwise it just passes through.

Probably just needs a screen and like 3 buttons: record/play/navigate mode (use your keyboard to actually navigate).


i dont see any way of actually typing key presses, like modifiers.

This project looks pretty interesting, maybe i'm missing something.


I don't map them to keystrokes at all, I have a (too specific to my needs to be open sourced) Python script that runs in the background, detects me pressing a MIDI note, and then does stuff. Think: a button for most frequent folders I need to open using VS Code, or lowering the volume (separate knobs for Firefox and Spotify), or a knob for dimming the lights in my living room / home office, things of that nature.

I built it using Mido (https://github.com/mido/mido), though there's so many other options for whichever language you prefer.

next

Legal | privacy