Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

gvr_gesture.h contains typos #544

Closed
shiena opened this issue Mar 21, 2018 · 2 comments
Closed

gvr_gesture.h contains typos #544

shiena opened this issue Mar 21, 2018 · 2 comments

Comments

@shiena
Copy link

shiena commented Mar 21, 2018

diff --git a/libraries/headers/vr/gvr/capi/include/gvr_gesture.h b/libraries/headers/vr/gvr/capi/include/gvr_gesture.h
index 5a28880..e2d1ac8 100644
--- a/libraries/headers/vr/gvr/capi/include/gvr_gesture.h
+++ b/libraries/headers/vr/gvr/capi/include/gvr_gesture.h
@@ -64,13 +64,13 @@ extern "C" {
 ///         case GVR_GESTURE_SWIPE:
 ///           // Handle swipe gesture.
 ///           break;
-///         case GVR_GESTURE__SCROLL_START:
+///         case GVR_GESTURE_SCROLL_START:
 ///           // Handle the start of a sequence of scroll gestures.
 ///           break;
-///         case GVR_GESTURE__SCROLL_UPDATE:
+///         case GVR_GESTURE_SCROLL_UPDATE:
 ///           // Handle an update in a sequence of scroll gestures.
 ///           break;
-///         case GVR_GESTURE__SCROLL_END:
+///         case GVR_GESTURE_SCROLL_END:
 ///           // Handle the end of a sequence of scroll gestures.
 ///           break;
 ///         default:
@@ -243,13 +243,13 @@ typedef gvr_gesture Gesture;
 ///         case GVR_GESTURE_SWIPE:
 ///           // Handle swipe gesture.
 ///           break;
-///         case GVR_GESTURE__SCROLL_START:
+///         case GVR_GESTURE_SCROLL_START:
 ///           // Handle the start of a sequence of scroll gestures.
 ///           break;
-///         case GVR_GESTURE__SCROLL_UPDATE:
+///         case GVR_GESTURE_SCROLL_UPDATE:
 ///           // Handle an update in a sequence of scroll gestures.
 ///           break;
-///         case GVR_GESTURE__SCROLL_END:
+///         case GVR_GESTURE_SCROLL_END:
 ///           // Handle the end of a sequence of scroll gestures.
 ///           break;
 ///         default:

These documents also have the same typos.
https://developers.google.com/vr/reference/android-ndk/group/gesture
https://developers.google.com/vr/reference/android-ndk/class/gvr/gesture-api

@jdduke
Copy link

jdduke commented Mar 22, 2018

Good catch, we'll try to get this fixed in the next release.

@jdduke
Copy link

jdduke commented Mar 24, 2018

Expect a doc fix in the 1.50 release. Thanks again for the report.

@jdduke jdduke closed this as completed Mar 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants