@@ -305,15 +305,15 @@ def rotate(self, rotation):
305
305
"""
306
306
Set the display rotation
307
307
308
- :param int rotation: The rotational position of the MacroPad. Allows for rotating the MacroPad
309
- in 90 degree increments to four different positions and rotates the keypad
310
- layout and display orientation to match. Keypad layout is always left to
311
- right, top to bottom, beginning with key number 0 in the top left, and
312
- ending with key number 11 in the bottom right. Supports ``0``, ``90``,
313
- ``180 ``, and ``270`` degree rotations. ``0 `` is when the USB port is at
314
- the top, ``90 `` is when the USB port is to the left , ``180 `` is when the
315
- USB port is at the bottom, and ``270 `` is when the USB port is to the
316
- right. Defaults to ``0``.
308
+ :param int rotation: The rotational position of the MacroPad. Allows for rotating the
309
+ MacroPad in 90 degree increments to four different positions and
310
+ rotates the keypad layout and display orientation to match. Keypad
311
+ layout is always left to right, top to bottom, beginning with key
312
+ number 0 in the top left, and ending with key number 11 in the bottom
313
+ right. Supports ``0 ``, ``90``, ``180``, and ``270 `` degree rotations.
314
+ ``0 `` is when the USB port is at the top , ``90 `` is when the USB port
315
+ is to the left, ``180 `` is when the USB port is at the bottom, and
316
+ ``270`` is when the USB port is to the right. Defaults to ``0``.
317
317
"""
318
318
if rotation not in (0 , 90 , 180 , 270 ):
319
319
raise ValueError ("Only 90 degree rotations are supported." )
0 commit comments