|
From: knittl <kn...@us...> - 2009-08-03 08:41:13
|
Module: performous
Branch: master
Commit: c34814f6702d4fa37a3c29ca06c8aebb881b64a2
Author: Vincent Le Ligeour <yo...@us...>
Date: Sun Aug 2 11:58:58 2009 +0200
Removed debug messages
---
game/joystick.hh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/game/joystick.hh b/game/joystick.hh
index 603fa23..fd0d791 100644
--- a/game/joystick.hh
+++ b/game/joystick.hh
@@ -36,12 +36,14 @@ namespace input {
void addEvent(Event _event) {
// only add event if the device is assigned
if( m_assigned ) m_events.push_back(_event);
+ /*
if( _event.type == input::Event::PICK )
std::cout << "PICK event " << _event.button << std::endl;
if( _event.type == input::Event::PRESS )
std::cout << "PRESS event " << _event.button << std::endl;
if( _event.type == input::Event::RELEASE )
std::cout << "RELEASE event " << _event.button << std::endl;
+ */
// always keep track of button status
for( unsigned int i = 0 ; i < BUTTONS ; ++i ) {
m_pressed[i] = _event.pressed[i];
|