浏览代码

Fixed SDL_TouchFingerEvent documentation in header file.

Philipp Wiesemann 10 年之前
父节点
当前提交
6e4e9ceb44
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/SDL_events.h

+ 2 - 2
include/SDL_events.h

@@ -412,8 +412,8 @@ typedef struct SDL_TouchFingerEvent
     SDL_FingerID fingerId;
     float x;            /**< Normalized in the range 0...1 */
     float y;            /**< Normalized in the range 0...1 */
-    float dx;           /**< Normalized in the range 0...1 */
-    float dy;           /**< Normalized in the range 0...1 */
+    float dx;           /**< Normalized in the range -1...1 */
+    float dy;           /**< Normalized in the range -1...1 */
     float pressure;     /**< Normalized in the range 0...1 */
 } SDL_TouchFingerEvent;