aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients/lib
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2017-01-03 05:23:25 +0000
committerJosh Soref <jsoref@users.noreply.github.com>2017-01-03 05:23:25 +0000
commit45d0a28a6a63170cf194447dc68ea12459106d80 (patch)
tree9c229f679a0cd5d46079519b9a47d53ef576dcbd /tools/EventClients/lib
parentb953c42a1958f9ef19205a39eea6bb755d66de74 (diff)
spelling: comments
Diffstat (limited to 'tools/EventClients/lib')
-rw-r--r--tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketBUTTON.java4
-rw-r--r--tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketMOUSE.java2
-rw-r--r--tools/EventClients/lib/java/src/org/xbmc/eventclient/XBMCClient.java4
-rw-r--r--tools/EventClients/lib/python/ps3/sixaxis.py6
-rw-r--r--tools/EventClients/lib/python/xbmcclient.py16
5 files changed, 16 insertions, 16 deletions
diff --git a/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketBUTTON.java b/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketBUTTON.java
index 2bb85c32d1..b4ba1bbff2 100644
--- a/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketBUTTON.java
+++ b/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketBUTTON.java
@@ -73,7 +73,7 @@ public class PacketBUTTON extends Packet {
* <li>"LI:devicename" => LIRC remote map where 'devicename' is the
* actual device's name</li></ul>
* @param button_name a button name defined in the map specified in map_name.
- * For example, if map_name is "KB" refering to the <keyboard> section in Keymap.xml
+ * For example, if map_name is "KB" referring to the <keyboard> section in Keymap.xml
* then, valid button_names include "printscreen", "minus", "x", etc.
* @param repeat this key press should repeat until released (default: 1)
* Note that queued pressed cannot repeat.
@@ -109,7 +109,7 @@ public class PacketBUTTON extends Packet {
* <li>"LI:devicename" => LIRC remote map where 'devicename' is the
* actual device's name</li></ul>
* @param button_name a button name defined in the map specified in map_name.
- * For example, if map_name is "KB" refering to the <keyboard> section in Keymap.xml
+ * For example, if map_name is "KB" referring to the <keyboard> section in Keymap.xml
* then, valid button_names include "printscreen", "minus", "x", etc.
* @param repeat this key press should repeat until released (default: 1)
* Note that queued pressed cannot repeat.
diff --git a/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketMOUSE.java b/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketMOUSE.java
index 768e06a5ff..6c865ec7c4 100644
--- a/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketMOUSE.java
+++ b/tools/EventClients/lib/java/src/org/xbmc/eventclient/PacketMOUSE.java
@@ -30,7 +30,7 @@ public class PacketMOUSE extends Packet {
/**
* A MOUSE packets sets the mouse position in XBMC
- * @param x horitontal position ranging from 0 to 65535
+ * @param x horizontal position ranging from 0 to 65535
* @param y vertical position ranging from 0 to 65535
*/
public PacketMOUSE(int x, int y)
diff --git a/tools/EventClients/lib/java/src/org/xbmc/eventclient/XBMCClient.java b/tools/EventClients/lib/java/src/org/xbmc/eventclient/XBMCClient.java
index e48eb92740..9642a6d76b 100644
--- a/tools/EventClients/lib/java/src/org/xbmc/eventclient/XBMCClient.java
+++ b/tools/EventClients/lib/java/src/org/xbmc/eventclient/XBMCClient.java
@@ -200,7 +200,7 @@ public class XBMCClient
* <li>"LI:devicename" => LIRC remote map where 'devicename' is the
* actual device's name</li></ul>
* @param button_name a button name defined in the map specified in map_name.
- * For example, if map_name is "KB" refering to the <keyboard> section in Keymap.xml
+ * For example, if map_name is "KB" referring to the <keyboard> section in Keymap.xml
* then, valid button_names include "printscreen", "minus", "x", etc.
* @param repeat this key press should repeat until released (default: 1)
* Note that queued pressed cannot repeat.
@@ -222,7 +222,7 @@ public class XBMCClient
/**
* Sets the mouse position in XBMC
- * @param x horitontal position ranging from 0 to 65535
+ * @param x horizontal position ranging from 0 to 65535
* @param y vertical position ranging from 0 to 65535
*/
public void sendMouse(int x, int y) throws IOException
diff --git a/tools/EventClients/lib/python/ps3/sixaxis.py b/tools/EventClients/lib/python/ps3/sixaxis.py
index 0f5b370845..f5570065c9 100644
--- a/tools/EventClients/lib/python/ps3/sixaxis.py
+++ b/tools/EventClients/lib/python/ps3/sixaxis.py
@@ -81,7 +81,7 @@ axismap_sixaxis = {
# to make sure all combination keys are checked first
# we sort the keymap's button codes in reverse order
-# this guranties that any bit combined button code
+# this guarantees that any bit combined button code
# will be processed first
keymap_sixaxis_keys = keymap_sixaxis.keys()
keymap_sixaxis_keys.sort()
@@ -205,9 +205,9 @@ class sixaxis():
bytes.extend([0xFF, 0x72])
bytes.extend([0x00, 0x00, 0x00, 0x00])
bytes.extend([0x02]) # 0x02 LED1, 0x04 LED2 ... 0x10 LED4
- # The following sections should set the blink frequncy of
+ # The following sections should set the blink frequency of
# the leds on the controller, but i've not figured out how.
- # These values where suggusted in a mailing list, but no explination
+ # These values where suggested in a mailing list, but no explanation
# for how they should be combined to the 5 bytes per led
#0xFF = 0.5Hz
#0x80 = 1Hz
diff --git a/tools/EventClients/lib/python/xbmcclient.py b/tools/EventClients/lib/python/xbmcclient.py
index f14c7ba68d..9b1e1679b2 100644
--- a/tools/EventClients/lib/python/xbmcclient.py
+++ b/tools/EventClients/lib/python/xbmcclient.py
@@ -337,7 +337,7 @@ class PacketBUTTON (Packet):
"LI:devicename" => LIRC remote map where 'devicename' is the
actual device's name
button_name -- a button name defined in the map specified in map_name.
- For example, if map_name is "KB" refering to the
+ For example, if map_name is "KB" referring to the
<keyboard> section in Keymap.xml then, valid
button_names include "printscreen", "minus", "x", etc.
amount -- unimplemented for now; in the future it will be used for
@@ -388,7 +388,7 @@ class PacketMOUSE (Packet):
def __init__(self, x, y):
"""
Arguments:
- x -- horitontal position ranging from 0 to 65535
+ x -- horizontal position ranging from 0 to 65535
y -- vertical position ranging from 0 to 65535
The range will be mapped to the screen width and height in XBMC
@@ -431,7 +431,7 @@ class PacketLOG (Packet):
Keyword arguments:
loglevel -- the loglevel, follows XBMC standard.
logmessage -- the message to log
- autoprint -- if the logmessage should automaticly be printed to stdout
+ autoprint -- if the logmessage should automatically be printed to stdout
"""
Packet.__init__(self)
self.packettype = PT_LOG
@@ -451,7 +451,7 @@ class PacketACTION (Packet):
Keyword arguments:
loglevel -- the loglevel, follows XBMC standard.
logmessage -- the message to log
- autoprint -- if the logmessage should automaticly be printed to stdout
+ autoprint -- if the logmessage should automatically be printed to stdout
"""
Packet.__init__(self)
self.packettype = PT_ACTION
@@ -513,7 +513,7 @@ class XBMCClient:
def send_notification(self, title="", message="", icon_file=None):
"""Send a notification to the connected XBMC
Keyword Arguments:
- title -- The title/heading for the notifcation
+ title -- The title/heading for the notification
message -- The message to be displayed
icon_file -- location of an icon file, if any (png, jpg, gif)
"""
@@ -564,7 +564,7 @@ class XBMCClient:
"LI:devicename" => LIRC remote map where 'devicename' is the
actual device's name
button -- a button name defined in the map specified in map, above.
- For example, if map is "KB" refering to the <keyboard>
+ For example, if map is "KB" referring to the <keyboard>
section in Keymap.xml then, valid buttons include
"printscreen", "minus", "x", etc.
"""
@@ -585,7 +585,7 @@ class XBMCClient:
"LI:devicename" => LIRC remote map where 'devicename' is the
actual device's name
button -- a button name defined in the map specified in map, above.
- For example, if map is "KB" refering to the <keyboard>
+ For example, if map is "KB" referring to the <keyboard>
section in Keymap.xml then, valid buttons include
"printscreen", "minus", "x", etc.
"""
@@ -613,7 +613,7 @@ class XBMCClient:
Keyword arguments:
loglevel -- the loglevel, follows XBMC standard.
logmessage -- the message to log
- autoprint -- if the logmessage should automaticly be printed to stdout
+ autoprint -- if the logmessage should automatically be printed to stdout
"""
packet = PacketLOG(loglevel, logmessage)
return packet.send(self.sock, self.addr, self.uid)