moving config to default_config and adding in 3d models for the macropad case itself
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
|
|||||||
|
```
|
||||||
|
_______________________
|
||||||
|
| | | / \ | Macropad OS
|
||||||
|
| |_________| \____/ |
|
||||||
|
| |
|
||||||
|
| _____ _____ _____ |
|
||||||
|
||key1 | |key2 | |key3 ||
|
||||||
|
||_____| |_____| |_____||
|
||||||
|
| _____ _____ _____ |
|
||||||
|
||key4 | |key5 | |key6 ||
|
||||||
|
||_____| |_____| |_____||
|
||||||
|
| _____ _____ _____ |
|
||||||
|
||key7 | |key8 | |key9 ||
|
||||||
|
||_____| |_____| |_____||
|
||||||
|
| _____ _____ _____ |
|
||||||
|
||key11| |key13| |key12||
|
||||||
|
||_____| |_____| |_____||
|
||||||
|
|_______________________|
|
||||||
|
```
|
||||||
|
|
||||||
|
What is Macropad OS?
|
||||||
|
|
||||||
|
|
||||||
|
How to Build:
|
||||||
|
|
||||||
|
|
||||||
|
How to Install:
|
||||||
|
* Connect your complete
|
||||||
-17
@@ -1,17 +0,0 @@
|
|||||||
_______________________
|
|
||||||
| | | / \ |
|
|
||||||
| |_________| \____/ |
|
|
||||||
| |
|
|
||||||
| _____ _____ _____ |
|
|
||||||
||key1 | |key2 | |key3 ||
|
|
||||||
||_____| |_____| |_____||
|
|
||||||
| _____ _____ _____ |
|
|
||||||
||key4 | |key5 | |key6 ||
|
|
||||||
||_____| |_____| |_____||
|
|
||||||
| _____ _____ _____ |
|
|
||||||
||key7 | |key8 | |key9 ||
|
|
||||||
||_____| |_____| |_____||
|
|
||||||
| _____ _____ _____ |
|
|
||||||
||key11| |key13| |key12||
|
|
||||||
||_____| |_____| |_____||
|
|
||||||
|_______________________|
|
|
||||||
-87
@@ -1,87 +0,0 @@
|
|||||||
{
|
|
||||||
"rgb_mode": {
|
|
||||||
"current_value": "rainbow",
|
|
||||||
"available_values": [
|
|
||||||
"rainbow",
|
|
||||||
"static"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"rgb_green": {
|
|
||||||
"current_value": 100,
|
|
||||||
"value_range": {
|
|
||||||
"end": 1500,
|
|
||||||
"start": 0
|
|
||||||
},
|
|
||||||
"dependency": {
|
|
||||||
"rgb_mode": "static"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rgb_red": {
|
|
||||||
"current_value": 100,
|
|
||||||
"value_range": {
|
|
||||||
"end": 1500,
|
|
||||||
"start": 0
|
|
||||||
},
|
|
||||||
"dependency": {
|
|
||||||
"rgb_mode": "static"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"key_tone_hz": {
|
|
||||||
"current_value": 690,
|
|
||||||
"value_range": {
|
|
||||||
"end": 1500,
|
|
||||||
"start": 0
|
|
||||||
},
|
|
||||||
"dependency": {
|
|
||||||
"key_tone": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"brightness": {
|
|
||||||
"current_value": 75,
|
|
||||||
"value_range": {
|
|
||||||
"end": 100,
|
|
||||||
"start": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rgb_blue": {
|
|
||||||
"current_value": 100,
|
|
||||||
"value_range": {
|
|
||||||
"end": 1500,
|
|
||||||
"start": 0
|
|
||||||
},
|
|
||||||
"dependency": {
|
|
||||||
"rgb_mode": "static"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"key_tone": {
|
|
||||||
"current_value": false,
|
|
||||||
"available_values": [
|
|
||||||
true,
|
|
||||||
false
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dev_mode": {
|
|
||||||
"current_value": false,
|
|
||||||
"available_values": [
|
|
||||||
true,
|
|
||||||
false
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"debug_app": {
|
|
||||||
"current_value": true,
|
|
||||||
"available_values": [
|
|
||||||
true,
|
|
||||||
false
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dev_mode_active": {
|
|
||||||
"current_value": false,
|
|
||||||
"available_values": [
|
|
||||||
true,
|
|
||||||
false
|
|
||||||
],
|
|
||||||
"dependency": {
|
|
||||||
"never resolving dependency": "asdf"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+11
-4
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"key_tone_hz": {
|
"key_tone_hz": {
|
||||||
"current_value": 523,
|
"current_value": 690,
|
||||||
"value_range": {
|
"value_range": {
|
||||||
"end": 1500,
|
"end": 1500,
|
||||||
"start": 0
|
"start": 0
|
||||||
@@ -37,10 +37,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"current_value": 100,
|
"current_value": 75,
|
||||||
"value_range": {
|
"value_range": {
|
||||||
"end": 100,
|
"end": 100,
|
||||||
"start": 0
|
"start": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rgb_blue": {
|
"rgb_blue": {
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"key_tone": {
|
"key_tone": {
|
||||||
"current_value": true,
|
"current_value": false,
|
||||||
"available_values": [
|
"available_values": [
|
||||||
true,
|
true,
|
||||||
false
|
false
|
||||||
@@ -67,6 +67,13 @@
|
|||||||
false
|
false
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"debug_app": {
|
||||||
|
"current_value": true,
|
||||||
|
"available_values": [
|
||||||
|
true,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
"dev_mode_active": {
|
"dev_mode_active": {
|
||||||
"current_value": false,
|
"current_value": false,
|
||||||
"available_values": [
|
"available_values": [
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
from .light_patterns import *
|
from .static_lighting import *
|
||||||
from .sound_patterns import *
|
from .sound_patterns import *
|
||||||
from .helper_funcs import *
|
from .helpers import *
|
||||||
@@ -2,7 +2,6 @@ def clamp(num, min_value, max_value):
|
|||||||
return max(min(num, max_value), min_value)
|
return max(min(num, max_value), min_value)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def rgb_from_int(rgb):
|
def rgb_from_int(rgb):
|
||||||
blue = rgb & 255
|
blue = rgb & 255
|
||||||
green = (rgb >> 8) & 255
|
green = (rgb >> 8) & 255
|
||||||
Reference in New Issue
Block a user