rajetic / auto_oculus_touch

Tools to allow AutoHotKey to read the state of the Oculus Touch controllers.
98 stars 20 forks source link

Oculus remote, not all buttons working? #8

Open lepidecko opened 6 years ago

lepidecko commented 6 years ago

First, thanks for this great library.

I'm using it with the oculus remote and noticed that not all buttons seem to be working. The four directional buttons work fine, but the following enums don't seem to work with the pressed state:

;ovrA := 0x00000001 ; Touch-A Remote-Select Xbox-A ;ovrB := 0x00000002 ; Touch-B Remote-Back Xbox-B ;ovrVolUp := 0x00400000 ; Touch-None Remote-Volume Up Xbox-None ;ovrVolDown := 0x00800000 ; Touch-None Remote-Volume Down Xbox-None ;ovrHome := 0x01000000 ; Touch-Oculus Remote-Oculus Xbox-Home

for instance, this works:

if pressed & ovrRight
    Send, {WheelUp}

But this doesn't:

if pressed & ovrB
    Send, {WheelDown}

Am I using it wrong?