-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,51 @@ | ||
# Push Push | ||
configurable arduino pedalboard | ||
|
||
# sysex CONFIG implementation | ||
|
||
|
||
IDENTIFIER MESSAGE_TYPE ACTION CONTENT_TYPE | ||
F0 X_MANID1 X_MANID2 X_PRODID [REQ, REPL] [ GET, SET ] [...] F7 | ||
|
||
const uint8_t X_MANID1 = 0x37; // Manufacturer ID 1 | ||
const uint8_t X_MANID2 = 0x72; // Manufacturer ID 2 | ||
const uint8_t X_PRODID = 0x10; // Product ID | ||
|
||
const byte VERSION_MAJOR = 1; | ||
const byte VERION_MINOR = 0; | ||
const byte VERSION_PATCH = 0; | ||
|
||
const byte REQ = 0x00; // Request | ||
const byte REP = 0x01; // Replay | ||
|
||
const byte GET = 0x00; | ||
const byte SET = 0x01; | ||
|
||
const byte FAILED = 0x00; | ||
const byte OK = 0x01; | ||
|
||
|
||
//Where CONTENT_TYPE is: | ||
|
||
// Ask the current configuration to Push Push: | ||
REQ GET | ||
// Push Push answer: | ||
REPL GET VERSION_MAJOR VERION_MINOR VERSION_PATCH BUTTON_QTY BTN_n_MODIFIER_CODE_1 BTN_n_MODIFIER_CODE_2 BTN_n_MODIFIER_CODE_3 BTN_n_MODIFIER_CODE_4 BTN_n_KEY_CODE [...] | ||
|
||
// Store the editor's fields as new configuration in Push Push: | ||
REQ SET VERSION_MAJOR VERION_MINOR VERSION_PATCH BUTTON_QTY BTN_n_MODIFIER_CODE_1 BTN_n_MODIFIER_CODE_2 BTN_n_MODIFIER_CODE_3 BTN_n_MODIFIER_CODE_4 BTN_n_KEY_CODE [...] | ||
// Push Push answer | ||
REPL SET [OK, FAILED ] | ||
|
||
|
||
per migliorare: | ||
- https://www.partsnotincluded.com/diy-stream-deck-mini-macro-keyboard/ | ||
|
||
Nome USB device: | ||
|
||
- https://forum.arduino.cc/t/multiple-leonardos-as-hid-joystick-how-to-change-the-names/402646 | ||
|
||
- https://gist.github.com/Hyratel/80017369fedd1bbc9eef4c8e7a896225 | ||
|
||
- https://github.com/NicoHood/HID/issues/125 | ||
|