Comments (14)
Can you run the system profiler from OpenGamepadUI and post the resulting file? Please ensure handycon.service
and opengamepadui
are both not running before conducting the test. When it asks for the key presses, press the left back button then the right back button before hitting ctrl+c
on the keyboard to end the script. This must be run with sudo
permissions.
Thanks.
from handygccs.
Generated file is here: G1618-04_system_profile.txt
Also, not sure if this helps, but when I tried to manually map the back buttons via input-remapper, it turns out that the back buttons are registered as a mouse. Pause
was the back right button, Print
was the back left button.
Unfortunately, input-remapper's systemd service seems to fail to initialize in gamepadui on boot, but it does properly work when I tested it in desktop mode BPM.
from handygccs.
Since there are two mouse for windows
devices it's possible we're just grabbing the wrong one. Do you know if the events trigger on the device attached to
usb-0000:73:00.3-4.2/input0
or the one attached to usb-0000:73:00.3-4.2/input1
from handygccs.
hrm, so I tried building handycon after updating gpd_gen3.py
with the input1
ID, and noticed the following after a reboot:
- the back buttons seem to no longer register in the
input-mapper
app, which I think means that handycon now is controlling the back buttons.- The back-left button had also previously been a PrintScreen button by default on Desktop mode without handycon
- with the updated handycon running, it no longer is registering as a printscreen button on the desktop
- The back-left button had also previously been a PrintScreen button by default on Desktop mode without handycon
- however, when I try to use the back buttons in game mode, they don't do anything.
- it seems that the buttons are now being controlled, but aren't actually registered to do anything.
I'll try to change around the code in handycon, and try to figure out what's happening.
from handygccs.
Going to investigate some more tomorrow, but added some basic logging in gpd_gen3.py
.
When pressing the back-left button, the following values were logged:
seed_event event at 1693883873.070568, code 04, type 04, val 458822
active_keys [99]
button_on 458822
---
seed_event event at 1693883873.070568, code 99, type 01, val 01
active_keys [99]
button_on 1
---
seed_event event at 1693883873.070568, code 00, type 00, val 00
active_keys [99]
button_on 0
---
seed_event event at 1693883873.336501, code 99, type 01, val 02
active_keys [99]
button_on 2
---
seed_event event at 1693883873.336501, code 00, type 00, val 01
active_keys [99]
button_on 1
---
seed_event event at 1693883873.366600, code 04, type 04, val 458822
active_keys []
button_on 458822
---
seed_event event at 1693883873.366600, code 99, type 01, val 00
active_keys []
button_on 0
---
seed_event event at 1693883873.366600, code 00, type 00, val 00
active_keys []
button_on 0
---
When I pressed the back-right button, got the following logs:
seed_event event at 1693883892.136303, code 04, type 04, val 458824
active_keys [119]
button_on 458824
---
seed_event event at 1693883892.136303, code 119, type 01, val 01
active_keys [119]
button_on 1
---
seed_event event at 1693883892.136303, code 00, type 00, val 00
active_keys [119]
button_on 0
button2 [[1, 316], [1, 304]]
---
seed_event event at 1693883892.402902, code 119, type 01, val 02
active_keys [119]
button_on 2
---
seed_event event at 1693883892.402902, code 00, type 00, val 01
active_keys [119]
button_on 1
---
seed_event event at 1693883892.432318, code 04, type 04, val 458824
active_keys []
button_on 458824
---
seed_event event at 1693883892.432318, code 119, type 01, val 00
active_keys []
button_on 0
---
seed_event event at 1693883892.432318, code 00, type 00, val 00
active_keys []
button_on 0
---
from handygccs.
I just looked at the code. It's super wrong for the key up events...
from handygccs.
Line 41 should have just [119] for seed_event.code and 47 should have 99
from handygccs.
Actually all the GPD devices have this bug
from handygccs.
Just pushed a fix
from handygccs.
Thanks, I can confirm that this almost fixed the issue. The last remaining thing to fix is to change from input0
to input1
.
After updating to input1 on the latest handygccs, I can confirm that the back-left button is working as QAM, back-right for screenshot.
from handygccs.
Just to clarify, I had to do one more manual code change, which was updating the KEYBOARD_ADDRESS
code in gpd_gen3.py
from input0
to input1
. Worked perfectly afterwards.
I'm not seeing the code change on the main branch, so I'm assuming it's a change that'll be pushed later.
Anyways, thanks for the help with troubleshooting this issue! :)
from handygccs.
I misread what you wrote. I'll update that soon, thanks!
from handygccs.
Updated. Please verify and we can close this issue.
from handygccs.
just updated to the latest handygccs via pikaur, I can confirm that it all works now.
from handygccs.
Related Issues (20)
- GPD Win 4 not working? HOT 12
- GPD WIN4 HOT 3
- ASUSTek ROG Ally RC71L (2023) HOT 2
- Allow configuration of combinations and/or long-presses
- Add additional event type to configuration HOT 1
- building from source needs pacman HOT 1
- Right Menu button change button mappings HOT 5
- Pressing the volume keys or other function keys wakes up the device while it's in sleep mode, but the controller doesn't cause a wake-up. This can easily lead to accidental activation. I would like only the power key to be able to wake up the device. HOT 1
- Suspend issue on Ayaneo air pro HOT 1
- Permission Denied Error
- handycon doesn't survive suspend/resume HOT 5
- [Rog Ally] Way to use M1/M2 back buttons HOT 12
- Handycon can't detect keyboard 2 on Ally HOT 5
- ONEXPLAYER 2 PRO Support HOT 21
- ALLY Controller behaves weirdly when using nintendo layout HOT 1
- Systemd Service failure HOT 2
- Dpad stops working rog ally HOT 3
- Add GPD WIN Mini HOT 5
- Rog Ally Device ID not supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handygccs.