mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Updated some more comments
This commit is contained in:
parent
e781d6c554
commit
e2bf041286
3 changed files with 5 additions and 3 deletions
4
PS4BT.h
4
PS4BT.h
|
@ -29,7 +29,9 @@ class PS4BT : public BTHID, public PS4Parser {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Constructor for the PS4BT class.
|
* Constructor for the PS4BT class.
|
||||||
* @param p Pointer to the BTD class instance.
|
* @param p Pointer to the BTD class instance.
|
||||||
|
* @param pair Set this to true in order to pair with the device. If the argument is omitted then it will not pair with it. One can use ::PAIR to set it to true.
|
||||||
|
* @param pin Write the pin to BTD#btdPin. If argument is omitted, then "0000" will be used.
|
||||||
*/
|
*/
|
||||||
PS4BT(BTD *p, bool pair = false, const char *pin = "0000") :
|
PS4BT(BTD *p, bool pair = false, const char *pin = "0000") :
|
||||||
BTHID(p, pair, pin) {
|
BTHID(p, pair, pin) {
|
||||||
|
|
|
@ -146,7 +146,7 @@ public:
|
||||||
/** @name PS4 Controller functions */
|
/** @name PS4 Controller functions */
|
||||||
/**
|
/**
|
||||||
* Used to get the analog value from button presses.
|
* Used to get the analog value from button presses.
|
||||||
* @param a The ::ButtonEnum to read.
|
* @param b The ::ButtonEnum to read.
|
||||||
* The supported buttons are:
|
* The supported buttons are:
|
||||||
* ::UP, ::RIGHT, ::DOWN, ::LEFT, ::L1, ::L2, ::R1, ::R2,
|
* ::UP, ::RIGHT, ::DOWN, ::LEFT, ::L1, ::L2, ::R1, ::R2,
|
||||||
* ::TRIANGLE, ::CIRCLE, ::CROSS, ::SQUARE, and ::T.
|
* ::TRIANGLE, ::CIRCLE, ::CROSS, ::SQUARE, and ::T.
|
||||||
|
|
2
Wii.h
2
Wii.h
|
@ -280,7 +280,7 @@ public:
|
||||||
|
|
||||||
#ifdef WIICAMERA
|
#ifdef WIICAMERA
|
||||||
/** @name Wiimote IR camera functions
|
/** @name Wiimote IR camera functions
|
||||||
* You will have to set ENABLE_WII_IR_CAMERA in settings.h to 1 in order use the IR camera.
|
* You will have to set ::ENABLE_WII_IR_CAMERA in settings.h to 1 in order use the IR camera.
|
||||||
*/
|
*/
|
||||||
/** Initialises the camera as per the steps from: http://wiibrew.org/wiki/Wiimote#IR_Camera */
|
/** Initialises the camera as per the steps from: http://wiibrew.org/wiki/Wiimote#IR_Camera */
|
||||||
void IRinitialize();
|
void IRinitialize();
|
||||||
|
|
Loading…
Reference in a new issue