adding intergration with mcp3008 for analog inputs

This commit is contained in:
langolierz
2018-09-24 19:12:58 +00:00
parent d53d23661b
commit f1e92a01db
9 changed files with 130 additions and 29 deletions

View File

@@ -0,0 +1,5 @@
{
"7": {
"DEFAULT": ["set_the_current_video_alpha_continuous"]
}
}

View File

@@ -1,18 +1,18 @@
{
"control_change 0": {
"DEFAULT": ["set_the_current_video_alpha_cc"]
"DEFAULT": ["set_the_current_video_alpha_continuous"]
},
"control_change 1": {
"DEFAULT": ["set_the_next_video_alpha_cc"]
"DEFAULT": ["set_the_next_video_alpha_continuous"]
},
"control_change 2": {
"DEFAULT": ["set_the_camera_alpha_cc"]
"DEFAULT": ["set_the_camera_alpha_continuous"]
},
"control_change 3": {
"DEFAULT": ["set_the_camera_colour_u_with_cc"]
"DEFAULT": ["set_the_camera_colour_u_continuous"]
},
"control_change 4": {
"DEFAULT": ["set_the_camera_colour_v_with_cc"]
"DEFAULT": ["set_the_camera_colour_v_continuous"]
},
"note_on 72": {
"NAV_BROWSER": ["move_browser_selection_up"],

View File

@@ -1,5 +1,25 @@
{
"capture": {
"TYPE": {
"action": "update_capture_settings",
"options": [
"piCamera",
"piCaptureSd1"
],
"value": "piCaptureSd1"
},
"PICAPTURE_INPUT": {
"action": "change_piCapture_input",
"options": [
"auto",
"video1",
"video2",
"video3",
"svideo",
"component"
],
"value": "video1"
},
"DEVICE": {
"action": "update_capture_settings",
"options": [
@@ -87,6 +107,14 @@
}
},
"other": {
"ANALOG_INPUT": {
"action": null,
"options": [
"enabled",
"disabled"
],
"value": "disabled"
},
"DEV_MODE_RESET": {
"action": "switch_dev_mode",
"options": [