Changeset 137 in flair-src for trunk/tools/Controller/DualShock3/src
- Timestamp:
- Feb 14, 2017, 3:06:20 PM (8 years ago)
- Location:
- trunk/tools/Controller/DualShock3/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Controller/DualShock3/src/DualShock3.cpp
r16 r137 79 79 namespace sensor { 80 80 81 DualShock3::DualShock3( const FrameworkManager *parent,string name,81 DualShock3::DualShock3(string name, 82 82 string receiverAddress, int receiverPort, 83 83 ConnectionType_t _connectionType, uint32_t period, 84 84 uint32_t bitsPerAxis, uint8_t priority) 85 : HostEthController( parent,name, receiverAddress, receiverPort, period,85 : HostEthController(name, receiverAddress, receiverPort, period, 86 86 bitsPerAxis, priority), 87 87 connectionType(_connectionType) { -
trunk/tools/Controller/DualShock3/src/DualShock3.h
r16 r137 52 52 typedef enum { Usb, Bluetooth } ConnectionType_t; 53 53 54 DualShock3( const core::FrameworkManager *parent,std::string name,54 DualShock3(std::string name, 55 55 std::string receiverAddress, int receiverPort, 56 56 ConnectionType_t connectionType, uint32_t period = 10, -
trunk/tools/Controller/DualShock3/src/main.cpp
r16 r137 47 47 if (connection == "usb") { 48 48 // manager->Warn("!! adresse = %s !!\n", address.c_str()); 49 joystick = new DualShock3( manager,"dualshock3", receiverAddress,49 joystick = new DualShock3("dualshock3", receiverAddress, 50 50 receiverPort, DualShock3::Usb, period, 6); 51 51 } else { 52 joystick = new DualShock3( manager,"dualshock3", receiverAddress,52 joystick = new DualShock3("dualshock3", receiverAddress, 53 53 receiverPort, DualShock3::Bluetooth, period, 6); 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.