Changeset 40017


Ignore:
Timestamp:
02/14/17 19:53:27 (7 years ago)
Author:
gost
Message:

[titan] fix frontpower settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/rc.h

    r39988 r40017  
    357357                                len = TEMP_FAILURE_RETRY(read(status.fdrc, &rcdata, sizeof(struct input_event)));
    358358                        else if(front == 1 && FD_ISSET(status.fdrc1, &rfds1))
     359                        {
    359360                                len = TEMP_FAILURE_RETRY(read(status.fdrc1, &rcdata, sizeof(struct input_event)));
     361                                if(rcdata.code  == getrcconfigint("rcpower", NULL))
     362                                        rcdata.code =  getrcconfigint("rcfrontpower", NULL);
     363                        }
    360364
    361365                        if(rcdata.type != EV_KEY)
Note: See TracChangeset for help on using the changeset viewer.