Skip to content

Commit

Permalink
Update Rokid integration to prevent magnetometer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
wheaney committed Sep 6, 2024
1 parent 95df22e commit 920ef89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(xrDriver VERSION 0.11.1.3 LANGUAGES C)
project(xrDriver VERSION 0.11.1.4 LANGUAGES C)

configure_file(include/version.h.in version.h)
include_directories(${PROJECT_BINARY_DIR})
Expand Down
2 changes: 1 addition & 1 deletion src/devices/rokid.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static bool device_connect(device_properties_type* device) {
GlassControlOpen(control_instance, device->hid_vendor_id, device->hid_product_id);

if (soft_connected) {
event_handle = GlassRegisterEventWithSize(event_instance, ROTATION_EVENT, 50);
event_handle = GlassRegisterEventWithSize(event_instance, GAME_ROTATION_EVENT, 50);
if (!event_handle) {
log_error("Failed to register event handle\n");
soft_connected = false;
Expand Down

0 comments on commit 920ef89

Please sign in to comment.