Ticket #2017: remote.patch

File remote.patch, 1.6 KB (added by tim@…, 13 years ago)

leopard codes

  • mythtv/libs/libmyth/AppleRemote.cpp

     
    129129    cookieToButtonMapping["19_"]                  = ControlSwitched;
    130130
    131131    // 10.5 sequences:
    132     cookieToButtonMapping["31_29_28_19_18_"]          = VolumePlus;
    133     cookieToButtonMapping["31_30_28_19_18_"]          = VolumeMinus;
    134     cookieToButtonMapping["31_20_19_18_31_20_19_18_"] = Menu;
    135     cookieToButtonMapping["31_21_19_18_31_21_19_18_"] = Play;
    136     cookieToButtonMapping["31_22_19_18_31_22_19_18_"] = Right;
    137     cookieToButtonMapping["31_23_19_18_31_23_19_18_"] = Left;
    138     cookieToButtonMapping["31_19_18_4_2_"]            = RightHold;
    139     cookieToButtonMapping["31_19_18_3_2_"]            = LeftHold;
    140     cookieToButtonMapping["31_19_18_31_19_18_"]       = MenuHold;
    141     cookieToButtonMapping["35_31_19_18_35_31_19_18_"] = PlaySleep;
     132    cookieToButtonMapping["31_29_28_18_"]          = VolumePlus;
     133    cookieToButtonMapping["31_30_28_18_"]          = VolumeMinus;
     134    cookieToButtonMapping["31_20_18_31_20_18_"] = Menu;
     135    cookieToButtonMapping["31_21_18_31_21_18_"] = Play;
     136    cookieToButtonMapping["31_22_18_31_22_18_"] = Right;
     137    cookieToButtonMapping["31_23_18_31_23_18_"] = Left;
     138    cookieToButtonMapping["31_18_4_2_"]            = RightHold;
     139    cookieToButtonMapping["31_18_3_2_"]            = LeftHold;
     140    cookieToButtonMapping["31_18_31_18_"]       = MenuHold;
     141    cookieToButtonMapping["35_31_18_35_31_18_"] = PlaySleep;
     142    cookieToButtonMapping["39_"]                = ControlSwitched;
    142143}