From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
KEY_KP_9 = 0xFFB9,
|
||||
|
||||
/*
|
||||
* Auxilliary Functions; note the duplicate definitions for left and right
|
||||
* Auxiliary Functions; note the duplicate definitions for left and right
|
||||
* function keys; Sun keyboards and a few other manufactures have such
|
||||
* function key groups on the left and/or right sides of the keyboard.
|
||||
* We've not found a keyboard with more than 35 function keys total.
|
||||
@@ -322,7 +322,7 @@ public:
|
||||
/** get mouse maximum x. */
|
||||
float getXmax() const { return _Xmax; }
|
||||
|
||||
/** get mmouse minimum y. */
|
||||
/** get mouse minimum y. */
|
||||
float getYmin() const { return _Ymin; }
|
||||
|
||||
/** get mouse maYimum y. */
|
||||
@@ -377,13 +377,13 @@ public:
|
||||
ScrollingMotion getScrollingMotion() const { return _scrollingMotion; }
|
||||
|
||||
|
||||
/** return the getX() value normalised to the range of -1 to 1.
|
||||
/** return the getX() value normalized to the range of -1 to 1.
|
||||
* -1 would be the left hand side of the window.
|
||||
* 0.0 would be the middle of the window.
|
||||
* +1 would be the right hand side of the window.*/
|
||||
inline float getXnormalized() const { return 2.0f*(getX()-getXmin())/(getXmax()-getXmin())-1.0f; }
|
||||
|
||||
/** return the getY() value normalised to the range of -1 to 1.
|
||||
/** return the getY() value normalized to the range of -1 to 1.
|
||||
* -1 would be the bottom of the window.
|
||||
* 0.0 would be the middle of the window.
|
||||
* +1 would be the top of the window.*/
|
||||
|
||||
Reference in New Issue
Block a user