diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2019-02-22 15:40:42 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-02-22 15:40:42 -0800 |
commit | 2630d4998bc0f846f396370a29169825295719d9 (patch) | |
tree | 48de8ab037b6404cfb4722adbfacfd1a99eb9c1e | |
parent | a725f7df24670b4cd82bede4a300757b133f84ce (diff) | |
parent | 8e9290327b6c2cae0b5db02c93f22796cc09afdf (diff) |
Merge "HID:correct mag axis config for External Viewer"LE.UM.3.2.1-08000-SDX24
-rw-r--r-- | drivers/hid/hid-qvr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hid/hid-qvr.c b/drivers/hid/hid-qvr.c index e619587e976a..2b2225654fb7 100644 --- a/drivers/hid/hid-qvr.c +++ b/drivers/hid/hid-qvr.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -139,8 +139,8 @@ int qvr_send_package_wrap(u8 *message, int msize, struct hid_device *hid) data->gx = -imuData.gx0; data->gy = imuData.gy0; data->gz = -imuData.gz0; - data->mx = -imuData.mx0; - data->my = imuData.my0; + data->mx = -imuData.my0; + data->my = -imuData.mx0; data->mz = -imuData.mz0; trace_qvr_recv_sensor("gyro", data->gts, data->gx, data->gy, data->gz); |