fixing issue with imports and changing direction for scrolling with click wheel.
This commit is contained in:
@@ -29,7 +29,8 @@ This repo contains everything you need to get started, from building the macropa
|
|||||||
creating your own apps!
|
creating your own apps!
|
||||||
|
|
||||||
|
|
||||||
## Building the Macropad (Pictures coming soon<sup>tm</sup>):
|
## Building the Macropad :
|
||||||
|
Pictures and a more complete build guide coming soon<sup>tm</sup>
|
||||||
|
|
||||||
See the 3d_printing_files folder for all the required .3mf model files!
|
See the 3d_printing_files folder for all the required .3mf model files!
|
||||||
If printing at home is not an option for you, you can reach out to https://craftcloud3d.com or similar services to
|
If printing at home is not an option for you, you can reach out to https://craftcloud3d.com or similar services to
|
||||||
|
|||||||
@@ -199,7 +199,6 @@ class App(object):
|
|||||||
self._key_lights[key_value] = color
|
self._key_lights[key_value] = color
|
||||||
|
|
||||||
def set_colors(self, colors) -> None:
|
def set_colors(self, colors) -> None:
|
||||||
print(time.time())
|
|
||||||
if len(colors) != 12:
|
if len(colors) != 12:
|
||||||
raise ValueError("Colors must be passed in as a 12 len array")
|
raise ValueError("Colors must be passed in as a 12 len array")
|
||||||
for color in colors:
|
for color in colors:
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
from .static_lighting import *
|
from .static_lighting import *
|
||||||
from .sound_patterns import *
|
|
||||||
from .helpers import *
|
from .helpers import *
|
||||||
@@ -204,7 +204,7 @@ class OptionsApp(App):
|
|||||||
|
|
||||||
def on_wheel_change(self, event):
|
def on_wheel_change(self, event):
|
||||||
if event > 0:
|
if event > 0:
|
||||||
self._up()
|
|
||||||
else:
|
|
||||||
self._down()
|
self._down()
|
||||||
|
else:
|
||||||
|
self._up()
|
||||||
self.update_settings_menu()
|
self.update_settings_menu()
|
||||||
|
|||||||
Reference in New Issue
Block a user