Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Renamed to make_joystick(); 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dsblank committed Mar 5, 2021
1 parent a1cb4e8 commit fe2aec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aitk/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
def in_colab():
return _in_colab

def joystick(*args, **kwargs):
def make_joystick(*args, **kwargs):
if in_colab():
return NoJoystick(*args, **kwargs)
elif has_ipycanvas():
return Joystick(*args, **kwargs)
elif has_ipywidgets():
return NoJoystick(*args, **kwargs)
else:
raise Exception("please install ipycanvas, or ipywidgets to use joystick")
raise Exception("please install ipycanvas, or ipywidgets to use make_joystick")
2 changes: 1 addition & 1 deletion aitk/utils/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
#
# ***********************************************************

version_info = (0, 0, 3)
version_info = (0, 0, 4)
__version__ = ".".join(map(str, version_info))

0 comments on commit fe2aec6

Please sign in to comment.