This repository has been archived by the owner on May 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving shared constants from PSMoveProtocolInterface.h to SharedConst…
…ants.h * Updated ClientConstants.h to include SharedConstants.h * Updated PSMoveProtocolInterface.h to use SharedConstants.h * Fixed up cmake files to copy SharedConstants.h into install include folder
- Loading branch information
1 parent
d45efc1
commit b8345bc
Showing
6 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#ifndef SHARED_CONSTANTS_H | ||
#define SHARED_CONSTANTS_H | ||
|
||
#define PSMOVESERVICE_DEFAULT_ADDRESS "localhost" | ||
#define PSMOVESERVICE_DEFAULT_PORT "9512" | ||
|
||
#define MAX_OUTPUT_DATA_FRAME_MESSAGE_SIZE 500 | ||
#define MAX_INPUT_DATA_FRAME_MESSAGE_SIZE 64 | ||
|
||
// See ControllerManager.h in PSMoveService | ||
#define PSMOVESERVICE_MAX_CONTROLLER_COUNT 5 | ||
|
||
// See TrackerManager.h in PSMoveService | ||
#define PSMOVESERVICE_MAX_TRACKER_COUNT 8 | ||
|
||
// See HMDManager.h in PSMoveService | ||
#define PSMOVESERVICE_MAX_HMD_COUNT 4 | ||
|
||
// The max number of axes allowed on a virtual controller | ||
#define PSM_MAX_VIRTUAL_CONTROLLER_AXES 32 | ||
|
||
// The max number of buttons allowed on a virtual controller | ||
#define PSM_MAX_VIRTUAL_CONTROLLER_BUTTONS 32 | ||
|
||
|
||
#endif // SHARED_CONSTANTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters