Pimax P2 driver header - inherits xrt_device.
More...
#include "xrt/xrt_device.h"
#include "os/os_threading.h"
#include "util/u_var.h"
#include <hidapi/hidapi.h>
Go to the source code of this file.
|
|
#define | PIMAX_P2_MODEL_NAME_LENGTH 32 |
| |
|
| bool | pimax_p2_init (struct pimax_p2_device **pdev) |
| | Initializes the Pimax HID device, enables the displays, and allocates and populates pdev with data.
|
| |
| bool | pimax_p2_setup_hmd (struct pimax_p2_device *pdev, struct xrt_hmd_parts *hmd) |
| | Fills the xrt_hmd_parts with data.
|
| |
| xrt_result_t | pimax_p2_get_view_poses (struct pimax_p2_device *dev, const struct xrt_vec3 *default_eye_relation, struct xrt_hmd_parts *hmd, uint32_t view_count, struct xrt_fov *out_fovs, struct xrt_pose *out_poses) |
| | Like xrt_device->get_view_poses, but does not fill in the head relation.
|
| |
| xrt_result_t | pimax_p2_compute_distortion_from_mesh (struct pimax_p2_device *dev, uint32_t view, float u, float v, struct xrt_uv_triplet *out_result) |
| | Compute distortion, using the mesh loaded by init.
|
| |
| xrt_result_t | pimax_p2_get_brightness (struct pimax_p2_device *dev, float *out_brightness) |
| | Get backlight brightness from 0 to 1.
|
| |
| xrt_result_t | pimax_p2_set_brightness (struct pimax_p2_device *dev, float brightness, bool relative) |
| | Set backlight brightness from 0 to 1.
|
| |
| void | pimax_p2_destroy (struct pimax_p2_device *dev) |
| | Clean up a pimax_p2_device.
|
| |
Pimax P2 driver header - inherits xrt_device.
- Author
- Coreforge BC549.nosp@m.b@gm.nosp@m.ail.c.nosp@m.om