summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp')
-rw-r--r--FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp b/FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp
index a94680a2..8a092d2e 100644
--- a/FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp
+++ b/FTNoIR_Protocol_PPJOY/FTNoIR_Protocol_PPJOY.cpp
@@ -195,6 +195,15 @@ bool FTNoIR_Protocol_PPJOY::checkServerInstallationOK( HANDLE handle )
return true;
}
+//
+// Return a name, if present the name from the Game, that is connected...
+//
+void FTNoIR_Protocol_PPJOY::getNameFromGame( char *dest )
+{
+ sprintf_s(dest, 99, "Virtual PPJoy joystick");
+ return;
+}
+
////////////////////////////////////////////////////////////////////////////////
// Factory function that creates instances if the Protocol object.