Public Member Functions | |
uMouseInput () | |
Public Attributes | |
uInput * | x_plus |
uInput * | x_minus |
uInput * | y_plus |
uInput * | y_minus |
uInput * | z_plus |
uInput * | z_minus |
uInput * | button [MOUSE_BUTTONS] |
Definition at line 230 of file uInput.cpp.
uMouseInput::uMouseInput | ( | ) | [inline] |
Definition at line 233 of file uInput.cpp.
References MOUSE_BUTTONS, and su_NewInput().
00233 : 00234 uMouseInput() 00235 { 00236 x_plus = su_NewInput( "MOUSE_X_PLUS", "mouse right" ); 00237 x_minus = su_NewInput( "MOUSE_X_MINUS", "mouse left" ); 00238 y_plus = su_NewInput( "MOUSE_Y_PLUS", "mouse up" ); 00239 y_minus = su_NewInput( "MOUSE_Y_MINUS", "mouse down" ); 00240 z_plus = su_NewInput( "MOUSE_Z_PLUS", "mouse z up" ); 00241 z_minus = su_NewInput( "MOUSE_Z_MINUS", "mouse z down" ); 00242 00243 for ( int i = 0; i < MOUSE_BUTTONS; ++i ) 00244 { 00245 std::ostringstream id; 00246 id << "MOUSE_BUTTON_" << i+1; 00247 std::ostringstream name; 00248 name << "mouse button " << i+1; 00249 button[i] = su_NewInput( id.str(), name.str() ); 00250 } }
Definition at line 252 of file uInput.cpp.
Definition at line 253 of file uInput.cpp.
Definition at line 254 of file uInput.cpp.
Definition at line 255 of file uInput.cpp.
Definition at line 256 of file uInput.cpp.
Definition at line 257 of file uInput.cpp.
uInput* uMouseInput::button[MOUSE_BUTTONS] |
Definition at line 258 of file uInput.cpp.