UI input map fixes

- Fix a longstanding bug that prevented binding several ORed buttons to any input belonging to a non-root device.
- Fix a visual glitch when assigning inputs to analog sequences.
This commit is contained in:
AJR 2017-03-31 16:51:28 -04:00
parent 448f68f2d0
commit 36406e792e
2 changed files with 2 additions and 2 deletions

View File

@ -426,7 +426,7 @@ void menu_input::populate_and_sort(input_item_data *itemlist)
text = "(" + text + ")";
/* if we're polling this item, use some spaces with left/right arrows */
if (pollingref == item->ref)
if (pollingref == item->ref && pollingseq == item->seqtype)
{
subtext.assign(" ");
flags |= FLAG_LEFT_ARROW | FLAG_RIGHT_ARROW;

View File

@ -66,7 +66,7 @@ protected:
input_item_data * pollingitem;
private:
uint16_t last_sortorder;
uint32_t last_sortorder;
bool record_next;
input_seq starting_seq;