summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/EventHandler.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-06-13 22:08:01 +0000
committerhrydgard <hrydgard@gmail.com>2009-06-13 22:08:01 +0000
commit31f7020b2dc269c58628ee736d6ef0a8907111b2 (patch)
tree2e960179b1b9cb894582f6e17fdb797071dd2075 /Source/Core/InputCommon/Src/EventHandler.cpp
parentdf7b29da32d289bfbe535af5f01d03ef2a8e4744 (diff)
Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/EventHandler.cpp')
-rw-r--r--Source/Core/InputCommon/Src/EventHandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/Src/EventHandler.cpp b/Source/Core/InputCommon/Src/EventHandler.cpp
index 7a0cde5f9c..e01dd4a38a 100644
--- a/Source/Core/InputCommon/Src/EventHandler.cpp
+++ b/Source/Core/InputCommon/Src/EventHandler.cpp
@@ -20,7 +20,7 @@ EventHandler::~EventHandler() {
}
EventHandler *EventHandler::GetInstance() {
- fprintf(stderr, "handler instance %p\n", m_Instance);
+ // fprintf(stderr, "handler instance %p\n", m_Instance);
if (! m_Instance)
m_Instance = new EventHandler();
@@ -30,13 +30,13 @@ EventHandler *EventHandler::GetInstance() {
void EventHandler::Destroy() {
if (m_Instance)
delete m_Instance;
- fprintf(stderr, "deleting instance %p\n", m_Instance);
+ // fprintf(stderr, "deleting instance %p\n", m_Instance);
m_Instance = 0;
}
bool EventHandler::RegisterEventListener(listenFuncPtr func, Keys key) {
if (key.inputType == KeyboardInput) {
- fprintf(stderr, "Registering %d:%d %p %p \n", key.keyCode, key.mods, func, this);
+ // fprintf(stderr, "Registering %d:%d %p %p \n", key.keyCode, key.mods, func, this);
if (key.keyCode == sf::Key::Count || key.mods >= NUMMODS ||
key.keyCode >= NUMKEYS)
return false;