aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2xwiz/gp2xwiz-hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gp2xwiz/gp2xwiz-hw.h')
-rw-r--r--backends/platform/gp2xwiz/gp2xwiz-hw.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-hw.h b/backends/platform/gp2xwiz/gp2xwiz-hw.h
index 507841e902..2fc7a85f5c 100644
--- a/backends/platform/gp2xwiz/gp2xwiz-hw.h
+++ b/backends/platform/gp2xwiz/gp2xwiz-hw.h
@@ -31,6 +31,14 @@
#ifndef GP2XWIZ_HW_H
#define GP2XWIZ_HW_H
+#if defined (CAANOO)
+ /* Vibrate features that GPH put in the */
+ /* SDL port but did not define */
+ extern void SDL_VibrateInit();
+ extern void SDL_VibrateQuit();
+ extern void SDL_VibratePlay(int);
+#endif
+
namespace WIZ_HW {
extern int volumeLevel;
@@ -41,4 +49,13 @@ extern void mixerMoveVolume(int);
} /* namespace WIZ_HW */
+namespace GPH {
+
+extern int tapmodeLevel;
+
+extern void ToggleTapMode();
+extern int GetTapMode();
+
+} /* namespace GPH */
+
#endif //GP2XWIZ_HW_H