From e2bf041286184b6ae2955a87674055a7ca238d95 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Sun, 19 Jan 2014 17:14:09 +0100 Subject: [PATCH] Updated some more comments --- PS4BT.h | 4 +++- PS4Parser.h | 2 +- Wii.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/PS4BT.h b/PS4BT.h index 4183d2c0..86b0ac47 100644 --- a/PS4BT.h +++ b/PS4BT.h @@ -29,7 +29,9 @@ class PS4BT : public BTHID, public PS4Parser { public: /** * 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") : BTHID(p, pair, pin) { diff --git a/PS4Parser.h b/PS4Parser.h index 26f83576..ddd23161 100644 --- a/PS4Parser.h +++ b/PS4Parser.h @@ -146,7 +146,7 @@ public: /** @name PS4 Controller functions */ /** * 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: * ::UP, ::RIGHT, ::DOWN, ::LEFT, ::L1, ::L2, ::R1, ::R2, * ::TRIANGLE, ::CIRCLE, ::CROSS, ::SQUARE, and ::T. diff --git a/Wii.h b/Wii.h index 294cd7a2..848dec93 100755 --- a/Wii.h +++ b/Wii.h @@ -280,7 +280,7 @@ public: #ifdef WIICAMERA /** @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 */ void IRinitialize();