Remote Input Server Daemon (re: utility to send keystrokes remotely)

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

Remote Input Server Daemon (re: utility to send keystrokes remotely)

Unread post by sofakng »

I've written a small utility called Remote Input Server Daemon that creates a TCP server and accepts commands to emulate keystrokes (using Linux uinput). For now it only accepts specific keyboard commands but I intended to add mouse and other support.

It's similar to and inspired by MiSTer Batch Control. However, it's implementation of streaming keyboard commands creates and destroys the uinput device every time a new command or macro is sent. Instead, this utility creates an input device at startup and remains running listening to commands. (and has a few other features like multiple connection support, etc)

The intended purpose is to be used with a Control4 home automation (remote control) system and I've created a driver to be used as well. The end result is controlling your MiSTer (or HTPC such as SteamOS) without requiring any additional hardware.

I've included scripts for both init.d (MiSTer) and systemd.

Hopefully somebody finds it useful :)

User avatar
wizzo
Scripting Wizard
Posts: 183
Joined: Sat Mar 12, 2022 11:32 am
Has thanked: 15 times
Been thanked: 243 times

Re: Remote Input Server Daemon (re: utility to send keystrokes remotely)

Unread post by wizzo »

This is really cool! What was your reason in particular for hooking the mister up to your home automation system?

sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

Re: Remote Input Server Daemon (re: utility to send keystrokes remotely)

Unread post by sofakng »

Thanks! This was just so I can control the MiSTer menus with my remote control and use the remote control buttons to control save states, etc.

Post Reply