docstring format
This commit is contained in:
parent
c108e00dcf
commit
04218966a8
@ -289,13 +289,13 @@ class NeoTrellisM4:
|
|||||||
|
|
||||||
def activate_key(self, key, edge, enable=True):
|
def activate_key(self, key, edge, enable=True):
|
||||||
"""
|
"""
|
||||||
Activate or deactivate a key on the trellis.
|
Activate or deactivate a key on the trellis
|
||||||
|
|
||||||
:param int key : key number from 0 to 16.
|
:param int key : key number from 0 to 16.
|
||||||
:param int edge : specifies what edge to register an event on and can be
|
:param int edge : specifies what edge to register an event on and can be
|
||||||
NeoTrellis.EDGE_FALLING or NeoTrellis.EDGE_RISING.
|
NeoTrellis.EDGE_FALLING or NeoTrellis.EDGE_RISING.
|
||||||
:param bool enable : should be set to True if the event is to be enabled,
|
:param bool enable : should be set to True if the event is to be enabled,
|
||||||
or False if the event is to be disabled.
|
or False if the event is to be disabled.
|
||||||
"""
|
"""
|
||||||
self.set_event(key, edge, enable)
|
self.set_event(key, edge, enable)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user