Open Sam-Tien opened 2 months ago
This is caused by a limitation in the implementation of the hotkeys, which checks for the OEM button by checking for the keyboard input it produces. For my AOKZOE A1 Pro, I had to define a custom hotkey inside the hotkey .jsons that rebinds the desktop button to use RWin+D (hotkey) instead of LWin+D (Hardware input intercepted by HHC). Here's a copy of my 77.json from the documents/handheldcompanion/hotkeys folder
Hope this helps!
This is caused by a limitation in the implementation of the hotkeys, which checks for the OEM button by checking for the keyboard input it produces. For my AOKZOE A1 Pro, I had to define a custom hotkey inside the hotkey .jsons that rebinds the desktop button to use RWin+D (hotkey) instead of LWin+D (Hardware input intercepted by HHC). Here's a copy of my 77.json from the documents/handheldcompanion/hotkeys folder
Hope this helps!
How to achieve window maximization?
The shortcut for that is Win (I use RWin because Lwin gets intercepted on my device if pressed with some keys due to the aforementioned issue) and the up arrow.
You can modify the above pastebin to give you that, just need the right keycodes for up arrow to replace the keycodes for the letter D in the above file.
The key value for up arrow is 24, and the scancode is 72. Replace the KV and SC values of 68 and 32 in the above script to achieve the desired result.
Keep in mind both of the above values and codes repeat twice: once to press the key, once to release it.
May I ask if it is possible to restore the Hotkey that switches to the desktop and maximizes the window? These two are quite practical functions.