소스 검색

Renaming Joystick to JoystickControl

seanpaultaylor 12 년 전
부모
커밋
203dc7987e
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      gameplay/src/JoystickControl.cpp
  2. 1 1
      gameplay/src/JoystickControl.h

+ 2 - 2
gameplay/src/JoystickControl.cpp

@@ -74,7 +74,7 @@ bool JoystickControl::isRelative() const
     return _relative;
     return _relative;
 }
 }
 
 
-const unsigned int JoystickControl::getIndex() const
+unsigned int JoystickControl::getIndex() const
 {
 {
     return _index;
     return _index;
 }
 }
@@ -349,7 +349,7 @@ unsigned int JoystickControl::drawImages(Form* form, const Rectangle& clip)
 
 
 const char* JoystickControl::getType() const
 const char* JoystickControl::getType() const
 {
 {
-    return "Joystick";
+    return "joystick";
 }
 }
 
 
 }
 }

+ 1 - 1
gameplay/src/JoystickControl.h

@@ -106,7 +106,7 @@ public:
      *
      *
      * @return The index of this joystick on a form.
      * @return The index of this joystick on a form.
      */
      */
-    const unsigned int getIndex() const;
+    unsigned int getIndex() const;
     
     
     /**
     /**
      * @see Control::getType
      * @see Control::getType