Ruediger Posted August 18, 2025 Report Posted August 18, 2025 (edited) The Flirc-Approach is great, due to its OS-independency - Just assign Key-Strokes to IR-Commands and it will smoothly behave like a connected keyboard. But ... For using my HTPC I was looking for are more individual solution: IR-Codes should result in different Key-Strokes depending on the currently focused Windows-App. This requirement is somewhat "off topic" for Flirc if you have really understood the Flirc-Approach - Nevertheless, I wanted to use Flirc for this setup, because I think Flirc is a high-quality IR-Receiver with good support and long-term availability. So, I ended up in creating a simple Windows-App (Visual-Studio-based): It will read your customized INI-File and send Keystrokes depending on the app, that is currently focused. As follows you will find my INI-File (In this early version you will not find multiple focused apps, but this is to come): ; This file is expected to be placed at: %ProgramData%\FLIRC-HTPC\FLIRC-HTPC.ini ; ; SendKeys-Reference (see https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sendkeys-statement ) ; BACKSPACE {BACKSPACE}, {BS}, or {BKSP} ; BREAK {BREAK} ; CAPS LOCK {CAPSLOCK} ; DELETE {DELETE} or {DEL} ; DOWN ARROW {DOWN} ; UP ARROW {UP} ; LEFT ARROW {LEFT} ; RIGHT ARROW {RIGHT} ; END {END} ; ENTER {ENTER} or ~ ; ESC {ESC} ; HELP {HELP} ; HOME {HOME} ; INSERT {INSERT} or {INS} ; NUM LOCK {NUMLOCK} ; PAGE DOWN {PGDN} ; PAGE UP {PGUP} ; PRINT SCREEN {PRTSC} ; SCROLL LOCK {SCROLLLOCK} ; TAB {TAB} ; F1 {F1} ; : : ; F16 {F16} ; Keypad + {ADD} ; Keypad - {SUBTRACT} ; Keypad * {MULTIPLY} ; Keypad / {DIVIDE} ; ; To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes: ; Key Code ; SHIFT + ; CTRL ^ ; ALT % ; ; To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, ; enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while E and C are pressed, use ; +(EC). ; ; To specify repeating keys, use the form {key number}. You must put a space between key and number. ; For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press H 10 times. ; ; Example for starting Windows-Explorer from Windows-Startmenu: "^{ESC}Explorer{ENTER}" ; [General] 3994093319="0" 4211345159="1" 4194633479="2" 4177921799="3" 4144498439="4" 4127786759="5" 4111075079="6" 4077651719="7" 4060940039="8" 4044228359="9" 2540177159="{ENTER}" 2673870599="{UP}" 2657158919="{DOWN}" 2590312199="{LEFT}" 2640447239="{RIGHT}" 3526166279="{ESC}" 2473330439="%{F4}" 3943958279="%{TAB}" 1353647879="{POWERSHELL:\"& 'C:\Program Files (x86)\Scripts\Toggle-VPN.ps1'\"}" ; "SAMSUNG Extra" 2490042119="{EXECUTE:\"C:\Program Files (x86)\Scripts\StartTV.bat\",\"\",\"\"}" ; "SAMSUNG List" (mapped to Logitech-Harmony-Button "DVR") 1738016519="{EXECUTE:\"C:\Windows\System32\shutdown.exe\",\"c:\Windows\",\"/s /f /t 0\"}" ; "SAMSUNG PowerOff" [dvbviewer] 1353647879="" ; Override "SAMSUNG Extra" 2490042119="" ; Override "SAMSUNG List" (mapped to Logitech-Harmony-Button "DVR") 3960669959="x" ; "SAMSUNG PrevChannel" 3760129799="{F6}" ; "SAMSUNG Info" 3927246599="{F7}" ; "SAMSUNG Yellow" 3843688199="{F8}" ; "SAMSUNG Menu" 3041527559=" " ; "SAMSUNG Pause" 2957969159="e" ; "SAMSUNG Guide" 3058239239="r" ; "SAMSUNG Record" 3125085959="+{LEFT}" ; "SAMSUNG Rewind" 3074950919="+{RIGHT}" ; "SAMSUNG FastForward" 3977381639="{ADD}" ; "SAMSUNG ChannelUp" 4010804999="{SUBTRACT}" ; "SAMSUNG ChannelDown" If you like this approach, feel free to download source-code ( https://www.klimkeit.net/Flirc-HTPC/download.php?filename=Flirc-HTPC_(source-code).zip ) or the compiled-version ( https://www.klimkeit.net/Flirc-HTPC/download.php?filename=Flirc-HTPC_(compiled).zip ). The programm should be started like this: "Flirc-HTPC.exe -IRmethod=Flirc-Libs" - It will silently minimize to Windows-Systemtray. Since I do not want to bother with any redistribution-/license-aspects, the download is missing the files "libflirc.dll" and "libir.dll". Get them from the SDK: https://github.com/flirc/sdk - Path: /libs/Win64 Sorry: No support or warranty for this - Just shared "as is". Edited August 18, 2025 by Ruediger 1 Quote
sikmke Posted October 29, 2025 Report Posted October 29, 2025 Using the new browser app to install, I couldn't get this collection to load geometry dash lite Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.