aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients/Clients
diff options
context:
space:
mode:
authorVasyl Gello <vasek.gello@gmail.com>2020-06-24 08:58:21 +0000
committerVasyl Gello <vasek.gello@gmail.com>2020-06-25 08:05:22 +0300
commit9c957d39868780fd815d7012132748a1a4523b32 (patch)
tree94ba7d507709b1d982da7108da00df8fdc81e6a2 /tools/EventClients/Clients
parent6e2ddd167e5533cf27f69610f4d72242bf46d918 (diff)
Fix spelling errors identified by Lintian
* Processed output of lintian on repacked Kodi tarball with the following script: while read _1 _2 _3 _4 WORD REPL do FILENAMES=$(git grep -l "$WORD") sed -i "s/$WORD/$REPL/g" $FILENAMES done < /tmp/lint Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
Diffstat (limited to 'tools/EventClients/Clients')
-rwxr-xr-xtools/EventClients/Clients/PS3BDRemote/ps3_remote.py2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/CHANGELOG4
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example/example.c4
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c10
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_win.c2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.c2
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h2
8 files changed, 14 insertions, 14 deletions
diff --git a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
index e902bb8519..5b9d5b3a6b 100755
--- a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
+++ b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
@@ -155,7 +155,7 @@ def process_keys(remote, xbmc):
return 2
time.sleep(2)
- # some other read exception occured, so raise it
+ # some other read exception occurred, so raise it
raise e
if datalen == 13:
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/CHANGELOG b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/CHANGELOG
index 5e2d5a2b6e..8ca34392aa 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/CHANGELOG
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/CHANGELOG
@@ -70,7 +70,7 @@ v0.10 -- 11 Feb 2008
- Renamed INFO/WARNING/DEBUG macros to WIIUSE_* (by noisehole)
- Updated Makefiles (by noisehole)
- Fixed incorrect roll/pitch when smoothing was enabled
- - Fixed nunchuk and classic controller flooding events when significant changes occured
+ - Fixed nunchuk and classic controller flooding events when significant changes occurred
- Fixed bug where IR was not correct on roll if IR was enabled before handshake
Removed:
@@ -115,7 +115,7 @@ v0.7 -- 19 Oct 2007
Fixed:
- [Windows] Problem where a connection is made to a wiimote that does not exist.
- - [Windows] Issue that occured while using multiple wiimotes.
+ - [Windows] Issue that occurred while using multiple wiimotes.
---------------------------
v0.6 -- 16 Oct 2007
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c
index 378611c7c8..c4699681c8 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c
@@ -424,7 +424,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
for (; i < MAX_WIIMOTES; ++i) {
switch (wiimotes[i]->event) {
case WIIUSE_EVENT:
- /* a generic event occured */
+ /* a generic event occurred */
handle_event(wiimotes[i]);
break;
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example/example.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example/example.c
index 8536cf683c..d401d80b7a 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example/example.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/example/example.c
@@ -368,12 +368,12 @@ int main(int argc, char** argv) {
for (; i < MAX_WIIMOTES; ++i) {
switch (wiimotes[i]->event) {
case WIIUSE_EVENT:
- /* a generic event occured */
+ /* a generic event occurred */
handle_event(wiimotes[i]);
break;
case WIIUSE_STATUS:
- /* a status event occured */
+ /* a status event occurred */
handle_ctrl_status(wiimotes[i]);
break;
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c
index 578ee3f08b..04c2ea50bb 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c
@@ -74,7 +74,7 @@ static int state_changed(struct wiimote_t* wm);
* @param wm An array of pointers to wiimote_t structures.
* @param wiimotes The number of wiimote_t structures in the \a wm array.
*
- * @return Returns number of wiimotes that an event has occured on.
+ * @return Returns number of wiimotes that an event has occurred on.
*
* It is necessary to poll the wiimote devices for events
* that occur. If an event occurs on a particular wiimote,
@@ -241,10 +241,10 @@ static void clear_dirty_reads(struct wiimote_t* wm) {
/**
- * @brief Analyze the event that occured on a wiimote.
+ * @brief Analyze the event that occurred on a wiimote.
*
* @param wm An array of pointers to wiimote_t structures.
- * @param event The event that occured.
+ * @param event The event that occurred.
* @param msg The message specified in the event packet.
*
* Pass the event to the registered event callback.
@@ -530,7 +530,7 @@ static void event_status(struct wiimote_t* wm, byte* msg) {
int exp_changed = 0;
/*
- * An event occured.
+ * An event occurred.
* This event can be overwritten by a more specific
* event type during a handshake or expansion removal.
*/
@@ -780,7 +780,7 @@ static void save_state(struct wiimote_t* wm) {
/**
* @brief Determine if the current state differs significantly from the previous.
* @param wm A pointer to a wiimote_t structure.
- * @return 1 if a significant change occured, 0 if not.
+ * @return 1 if a significant change occurred, 0 if not.
*/
static int state_changed(struct wiimote_t* wm) {
#define STATE_CHANGED(a, b) if (a != b) return 1
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_win.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_win.c
index 85ddd109cd..6aeeb81dd2 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_win.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_win.c
@@ -195,7 +195,7 @@ int wiiuse_io_read(struct wiimote_t* wm) {
ResetEvent(wm->hid_overlap.hEvent);
return 0;
} else if (r == WAIT_FAILED) {
- WIIUSE_WARNING("A wait error occured on reading from wiimote %i.", wm->unid);
+ WIIUSE_WARNING("A wait error occurred on reading from wiimote %i.", wm->unid);
return 0;
}
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.c
index cdd31a68fb..1bb617d907 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.c
@@ -706,7 +706,7 @@ void wiiuse_set_bluetooth_stack(struct wiimote_t** wm, int wiimotes, enum win_bt
* @param threshold The decimal place that should be considered a significant change.
*
* If threshold is 0.01, and any angle changes by 0.01 then a significant change
- * has occured and the event callback will be invoked. If threshold is 1 then
+ * has occurred and the event callback will be invoked. If threshold is 1 then
* the angle has to change by a full degree to generate an event.
*/
void wiiuse_set_orient_threshold(struct wiimote_t* wm, float threshold) {
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
index dc886743e7..fce263c38f 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h
@@ -572,7 +572,7 @@ typedef struct wiimote_t {
WCONST struct wiimote_state_t lstate; /**< last saved state */
- WCONST WIIUSE_EVENT_TYPE event; /**< type of event that occured */
+ WCONST WIIUSE_EVENT_TYPE event; /**< type of event that occurred */
WCONST byte event_buf[MAX_PAYLOAD]; /**< event buffer */
} wiimote;