flex-launcher icon indicating copy to clipboard operation
flex-launcher copied to clipboard

TV remote enter not recognized

Open vdb86 opened this issue 8 months ago • 2 comments

Hi! Thank you for making this wonderful launcher. I'm using it on mini pc running windows 11. I've bought pulse eight usb cec adapter and it works well. The issue is that flex launcher doesn't recognize the enter key. I've started debug mode and left, right etc is recognized, but enter is not seen in the logs at all. Windows uses this button with no problems. I've also installed AHK and ran a script with keyboard hook to see how Windows sees this button and it's the enter key.

Can you help please?

vdb86 avatar Apr 19 '25 14:04 vdb86

Please upload the log.

complexlogic avatar Apr 19 '25 14:04 complexlogic

I've pressed: Right Left Up Down Enter - five times ESC

Flex Launcher version 2.2, using:
  SDL       2.30.8
  SDL_image 2.8.2
  SDL_ttf   2.22.0

Build date: Nov 24 2024
Compiler:   Microsoft C/C++ 19.42

Config file found: .\config.ini
Could not initialize font from config file
Highlight padding value 30 too large to fit screen, shrinking to 18
Icon spacing value 96 too large to fit screen, shrinking to 62
Could not initialize font from config file
================== Video Information ===================

Resolution:    1920x1080
Refresh rate:  60 Hz
Video driver:  windows

Supported Texture formats:
  SDL_PIXELFORMAT_ARGB8888
  SDL_PIXELFORMAT_YV12
  SDL_PIXELFORMAT_IYUV

======================= General ========================

DefaultMenu:              Main
VSync:                    true
FPSLimit:                 -1
ApplicationTimeout:       15
OnLaunch:                 Blank
WrapEntries:              true
ResetOnBack:              false
MouseSelect:              false
InhibitOSScreensaver:     true
StartupCmd:               (null)
QuitCmd:                  (null)

===================== Background =======================

Mode:                     Color
Color:                    #000000FF
Image:                    (null)
SlideshowDirectory:       (null)
SlideshowImageDuration:   30
SlideshowTransitionTime:  1.50
Overlay:                  false
OverlayColor:             #0000007F

======================= Layout =========================

MaxButtons:               6
IconSize:                 256
IconSpacing:              62
VCenter:                  50%

======================== Titles ========================

Enabled:                  true
Font:                     D:\Instalacije\flex-launcher\assets\fonts\OpenSans-Regular.ttf
FontSize:                 36
Color:                    #FFFFFFFF
Shadows:                  false
ShadowColor:              #000000FF
OversizeMode:             Shrink
Padding:                  20

====================== Highlight =======================

FillColor:                #FFFFFF3F
OutlineSize:              0
OutlineColor:             #0000FFFF
CornerRadius:             0
VPadding:                 30
HPadding:                 18

================== Scroll Indicators ===================

Enabled:                  true
FillColor:                #FFFFFFFF
OutlineSize:              0
OutlineColor:             #000000FF

======================== Clock =========================

Enabled:                  true
ShowDate:                 true
Alignment:                Right
Font:                     D:\Instalacije\flex-launcher\assets\fonts\SourceSansPro-Regular.ttf
FontSize:                 50
Margin:                   54
FontColor:                #FFFFFFFF
Shadows:                  false
ShadowColor:              #000000FF
TimeFormat:               24hr
DateFormat:               Little
IncludeWeekday:           true

===================== Screensaver ======================

Enabled:                  false
IdleTime:                 300
Intensity:                70%
PauseSlideshow:           true

======================= Gamepad ========================

Enabled:                  true
DeviceIndex:              -1
ControllerMappingsFile:   (null)
LStickX-                  :left
LStickX+                  :right
ButtonA                   :select
ButtonB                   :back
ButtonDPadLeft            :left
ButtonDPadRight           :right

======================== Hotkeys =========================

Hotkey 0 Keycode: 1B
Hotkey 0 Command: :quit

======================= Menu Entries =======================

Menu Name: Main
Number of Entries: 5
Entry 0 Title: Kodi
Entry 0 Icon Path: D:\Instalacije\flex-launcher\assets\icons\kodi.png
Entry 0 Command: "C:\Program Files\Kodi\kodi.exe"

Entry 1 Title: Firefox
Entry 1 Icon Path: D:\Instalacije\flex-launcher\assets\icons\firefox.png
Entry 1 Command: "C:\Program Files\Mozilla Firefox\firefox.exe"

Entry 2 Title: Retroarch
Entry 2 Icon Path: D:\Instalacije\flex-launcher\assets\icons\retroarch.png
Entry 2 Command: "C:\RetroArch-Win64\retroarch.exe"

Entry 3 Title: Igre
Entry 3 Icon Path: D:\Instalacije\flex-launcher\assets\icons\game-controller.png
Entry 3 Command: :submenu Igre

Entry 4 Title: Exit
Entry 4 Icon Path: D:\Instalacije\flex-launcher\assets\icons\system.png
Entry 4 Command: :quit
----------------------------------------------------------
Menu Name: Igre
Number of Entries: 3
Entry 0 Title: SOR4
Entry 0 Icon Path: D:\Instalacije\flex-launcher\assets\icons\SOR4.png
Entry 0 Command: "D:\Igre\Streets of Rage 4\Launch Streets of Rage 4.lnk"

Entry 1 Title: TMNT
Entry 1 Icon Path: D:\Instalacije\flex-launcher\assets\icons\TMNT.png
Entry 1 Command: "D:\Igre\TMNT - Shredder's Revenge\TMNT.lnk"

Entry 2 Title: Tux Cart
Entry 2 Icon Path: D:\Instalacije\flex-launcher\assets\icons\supertuxkart.png
Entry 2 Command: "D:\Igre\SuperTuxKart 1.4\supertuxkart.exe"

Loading menu 'Main'
Begin program loop
Gained keyboard focus
Key Right (#4000004F) detected
Key Left (#40000050) detected
Key Up (#40000052) detected
Key Down (#40000051) detected
Key Escape (#1B) detected
Quitting program

vdb86 avatar Apr 19 '25 15:04 vdb86

Please let me know if you need anything else from my end. 😊

vdb86 avatar Apr 23 '25 11:04 vdb86

I've sorted this out by using AHK. Enter:: { Send "{Enter}" } That fixes the issue for some reason.

vdb86 avatar May 01 '25 20:05 vdb86

Thanks for the update and sorry I didn't get back earlier. Glad you were able to find a solution.

Since the launcher was not (previously) receiving any keyboard enter press, as evidenced by the log, I'm going to attribute this to a setup problem and close this issue now.

complexlogic avatar May 01 '25 21:05 complexlogic