Valkirie / HandheldCompanion

ControllerService
Other
1.16k stars 91 forks source link

Issues with mapping (Win+D) keystroke hotkey and having the Win+D working on the Ayaneo Air 1s #1151

Open asfdjl239sdk opened 2 days ago

asfdjl239sdk commented 2 days ago

Device manufacturer

Device model Ayaneo Air 1s

Handheld Companion Version 0.21.6.0

Describe the bug I have Win+D mapped to a hotkey as a keystroke to the down button. I can press Win+D on my keyboard and it will work but not in the hotkey. I installed HC ver. 0.21.6.0 on my PC (not my Ayaneo handheld) and I have it working. I have OneDrive and I synced my settings and hotkeys from my PC to my Ayaneo and I was able to get the hotkey working, but I am unable to map the hotkey to the Ayaneo button. It will register as a combination of keys like (Lcontrol, Win, D) even though I only key pressed the Ayaneo key.

I can include my entire HC folder from MyDocuments if it helps replicating the issue.

To Reproduce

  1. Go to hotkeys
  2. Create a executable hotkey (Win+D). This might not work and you'll have to manually change the hotkey json to detect the keyboard pressing (Win+D)
  3. Map they hotkey to the Ayaneo button)
  4. Press the Ayaneo button and Win+D shortcut does not work.

Expected behavior The hotkey is expected to show/hide desktop. Mapping Win+D doesn't work with a physical keyboard or the virtual keyboard.

Screenshots Screenshot 2024-09-29 153123

Logs file HandheldCompanion-20240929_002 (1).log