A Samsung TV universal remote (because I have no Samsung products that can be controlled by IR whatsoever) + an IR receiver made out of a cheap Chinese
Sparkfun Pro Micro clone (with ATMEGA32U4 microcontroller for native USB interface) with custom software I wrote by myself that relies on the
Arduino IRremote library for IR decoding and the
HID Project library to make the board be seen as both a USB HID and a USB Media device. I just generate USB keyboard key presses or send USB media codes (like Play, Pause, Vol+, etc) when I decode IR signals, and Windows (or any other OS) sees that as if they are sent by a multimedia keyboard connected to the PC.
That's 5 bucks the remote + (was) 10 bucks the board and the Vishay TSOP IR receiver module.
I would use a 4 bucks Raspberry PI Pico (RP2040) board if I were to do this today. If you pick the W version, you could even use BT on it and implement a BT AirMouse receiver instead of a IR remote receiver (or both).
Planning to try a Samsung S95C TV this year, so I will replace the remote with a
OneForAll URC3661 remote (a JP1 programmable remote, same as URC3660 or URC3680, for which there is plenty of interest on the
JP1 Remotes forum) that I can use to send codes for some other pre-programmed device I don't have and then just change a bit the code I run on the Arduino board, or I can program it to send whatever I want using the
RMIR software.
I did not know what to pick in the poll, neither option seemed to fit this case, but it seemed wrong to pick "None of the above". It would be either "Keyboard / Mouse" because that's what it is in the end, or "Hardware - Specialized/
but not Expensive".