summaryrefslogtreecommitdiffstats
path: root/src/skel/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/skel/events.cpp22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/skel/events.cpp b/src/skel/events.cpp
index 60e1482e..3e1e95b3 100644
--- a/src/skel/events.cpp
+++ b/src/skel/events.cpp
@@ -1,18 +1,13 @@
-#include "rwcore.h"
-#include "skeleton.h"
-#include "events.h"
-
-//#include "main.h"
- #define DIRECTINPUT_VERSION 0x0800
- #include <dinput.h>
#include "common.h"
#include "Pad.h"
#include "ControllerConfig.h"
#include "Frontend.h"
#include "Camera.h"
+#include "rwcore.h"
+#include "skeleton.h"
+#include "events.h"
-#include "patcher.h"
/*
*****************************************************************************
@@ -832,14 +827,3 @@ AttachInputDevices(void)
return TRUE;
}
-
-
-STARTPATCHES
- InjectHook(0x583F10, HandleKeyDown, PATCH_JUMP);
- InjectHook(0x5842F0, HandleKeyUp, PATCH_JUMP);
- InjectHook(0x5846C0, KeyboardHandler, PATCH_JUMP);
- InjectHook(0x5846F0, HandlePadButtonDown, PATCH_JUMP);
- InjectHook(0x584770, HandlePadButtonUp, PATCH_JUMP);
- InjectHook(0x584830, PadHandler, PATCH_JUMP);
- InjectHook(0x584860, AttachInputDevices, PATCH_JUMP);
-ENDPATCHES \ No newline at end of file