Merge remote-tracking branch 'alederer/multiKeybind'
This commit is contained in:
commit
03c003276c
8 changed files with 522 additions and 459 deletions
|
|
@ -66,7 +66,7 @@
|
|||
logI("beep!"); \
|
||||
}
|
||||
|
||||
#define BIND_FOR(x) getKeyName(actionKeys[x],true).c_str()
|
||||
#define BIND_FOR(x) getMultiKeysName(actionKeys[x].data(),actionKeys[x].size(),true).c_str()
|
||||
|
||||
#define FM_PREVIEW_SIZE 512
|
||||
|
||||
|
|
@ -2372,7 +2372,7 @@ class FurnaceGUI {
|
|||
// bit 28: meta (win)
|
||||
// bit 27: alt
|
||||
// bit 24-26: reserved
|
||||
int actionKeys[GUI_ACTION_MAX];
|
||||
std::vector<int> actionKeys[GUI_ACTION_MAX];
|
||||
|
||||
std::map<int,int> actionMapGlobal;
|
||||
std::map<int,int> actionMapPat;
|
||||
|
|
@ -2492,7 +2492,7 @@ class FurnaceGUI {
|
|||
int waveDragMin, waveDragMax;
|
||||
bool waveDragActive;
|
||||
|
||||
int bindSetTarget, bindSetPrevValue;
|
||||
int bindSetTarget, bindSetTargetIdx, bindSetPrevValue;
|
||||
bool bindSetActive, bindSetPending;
|
||||
|
||||
float nextScroll, nextAddScroll, orderScroll, orderScrollSlideOrigin;
|
||||
|
|
@ -2895,8 +2895,10 @@ class FurnaceGUI {
|
|||
void drawXYOsc();
|
||||
void drawUserPresets();
|
||||
|
||||
void assignActionMap(std::map<int,int>& actionMap, int first, int last);
|
||||
void drawKeybindSettingsTableRow(FurnaceGUIActions actionIdx);
|
||||
void parseKeybinds();
|
||||
void promptKey(int which);
|
||||
void promptKey(int which, int bindIdx);
|
||||
void doAction(int what);
|
||||
|
||||
bool importColors(String path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue