Valkirie / HandheldCompanion

ControllerService
Other
1.18k stars 91 forks source link

Rog Ally front oem button outputs M2 #879

Closed dkswedens closed 6 months ago

dkswedens commented 10 months ago

Device manufacturer

Device model Asus rog ally

Handheld Companinion Version newest release

Describe the bug Right front oem button (long press) output M2

To Reproduce Steps to reproduce the behavior: bind long press watch output

Expected behavior expectd output to be different than m2

Screenshots If applicable, add screenshots to help explain your problem.

Logs file If applicable, add logs file stored in your install location, logs folder.

CasperH2O commented 10 months ago

Initial investigation reveals that if I change HCs M1/M2 programming line to F11 and F12 (based on how AC does it), long press OEM front right button still results in F18. So, this button is programmed in a different way.

CasperH2O commented 10 months ago

It would appear that for the M1/M2 programming, there are "duplicate" values that have or do not have an effect on the AC long press button. For example both decimal 4 and decimal 64 result in F3.

Using decimal 8, reprograms AC Long and M2 to F13 but using Decimal 48 then only sets the M2 key back to F18.

Even stranger, setting M1/M2 to default, makes M1, M2 and AC Long have no input, but then setting M1/M2 to F17/F18 will have AC Long behave with F13 again.

A hack at this point would be to set F13 once for both and then F18 for only M2, which would prevent them from having the same value.

CasperH2O commented 6 months ago

Revisiting this one, it seems to be a firmware thing for which I have been unable to find a proper workaround. It is what it is. Closing as a won't fix.