The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/cemu: use proper number of inputs

+2 -1
+2 -1
src/xrt/drivers/ht_ctrl_emu/ht_ctrl_emu.cpp
··· 47 47 CEMU_INDEX_MENU, 48 48 CEMU_INDEX_GRIP, 49 49 CEMU_INDEX_AIM, 50 + CEMU_NUM_INPUTS, 50 51 }; 51 52 52 53 static enum xrt_space_relation_flags valid_flags = (enum xrt_space_relation_flags)( ··· 409 410 system->grip_offset_from_palm = 0.03f; // 3 centimeters 410 411 411 412 for (int i = 0; i < 2; i++) { 412 - cemud[i] = U_DEVICE_ALLOCATE(struct cemu_device, flags, 4, 0); 413 + cemud[i] = U_DEVICE_ALLOCATE(struct cemu_device, flags, CEMU_NUM_INPUTS, 0); 413 414 414 415 cemud[i]->base.tracking_origin = hands->tracking_origin; 415 416