Changeset 5997:9072495573dd in roaraudio


Ignore:
Timestamp:
02/24/14 17:42:08 (5 years ago)
Author:
phi
Branch:
default
Message:

also allow holding of events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/filter-slfi-trigger.c

    r5996 r5997  
    8787  if ( event[i] == self->event ) { 
    8888   active = 1; 
    89   } else if ( event[i] == (self->event|ROAR_ROARDMX_ETYPE_ON) ) { 
     89  } else if ( event[i] == (self->event|ROAR_ROARDMX_ETYPE_ON)   || 
     90              event[i] == (self->event|ROAR_ROARDMX_ETYPE_HOLD) ) { 
    9091   self->active = active = 1; 
    9192  } else if ( event[i] == (self->event|ROAR_ROARDMX_ETYPE_OFF) ) { 
Note: See TracChangeset for help on using the changeset viewer.