Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping WMR (HP Reverb 2) controllers to memory buffer changes. #50

Open
MaciejMalczyk opened this issue Apr 13, 2023 · 1 comment
Open

Comments

@MaciejMalczyk
Copy link

Hi.
I have access to HP Reverb 2 and i decided to map memory signalls to controllers functionality. This is not full list but i will try to find all functionalities c: buffer[] is name directly taken from source code. L means left controller, R means right.

buffer[1] = L{joy_click = 1; win_button = 2; menu_button = 4; rear_button = 8}
buffer[2] = L{joy_x = [0,255]}
buffer[3] = L{joy_y = [0,255]}
buffer[5] = L{throttle_front = [0,255]}
buffer[6] = L{throttle_rear = [0,255]}
buffer[7] = L{y = 1; x = 2}
buffer[8] = {???}
buffer[9] = {???}
buffer[10] = {???}
buffer[11] = R{conroller_camera_detetction [0-255; 0 - not see; 255 - see]}
buffer[12] = {???}
buffer[14] = both_conrollers_camera_detecion [0-255; 0 - not see; 255 - both see; if one is seen msg is 0,255,0,255]
buffer[16] = {controllers_are_in_sleep_mode = high [0-255]}
buffer[17] = {??? something with gogles?}
buffer[18] = {???}
buffer[33 - 44] = {if any controller turn on = 0; else nothing; shorly before disabling and enabling - value >0; [0-255]}
buffer[45] = {if any controller turn on - high value; else nohing; [0-255]};

Hope this will be helpfull C:

@MaciejMalczyk MaciejMalczyk changed the title Mapping WMR (HP Reverb 2) controller to memory buffer changes. Mapping WMR (HP Reverb 2) controllers to memory buffer changes. Apr 13, 2023
@thaytan
Copy link
Owner

thaytan commented Apr 13, 2023

This looks like you're referring to the controller report coming from the headset.

The WMR driver in Monado is much further advanced than the OpenHMD one. It supports 6DOF headset tracking, and 3DOF controller with some WMR headsets. I have a WIP branch for supporting G2 controllers here https://gitlab.freedesktop.org/thaytan/monado/-/tree/dev-wmr-HP-G2-tunnelled-controller

I don't plan on working on the OpenHMD WMR driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants