if (LIRC_IS_PULSE(*sample)) {
unsigned int duration = LIRC_VALUE(*sample);
- if (duration & 0x10000)
+ if (duration & 0x1000)
bpf_rc_keydown(sample, 0x40, duration & 0xffff, 0);
- if (duration & 0x20000)
+ if (duration & 0x2000)
bpf_rc_pointer_rel(sample, (duration >> 8) & 0xff,
duration & 0xff);
}
{
struct bpf_object *obj;
int ret, lircfd, progfd, inputfd;
- int testir1 = 0x1dead;
- int testir2 = 0x20101;
+ int testir1 = 0x1ead;
+ int testir2 = 0x2101;
u32 prog_ids[10], prog_flags[10], prog_cnt;
if (argc != 3) {
}
if (event.type == EV_MSC && event.code == MSC_SCAN &&
- event.value == 0xdead) {
+ event.value == 0x1ead) {
break;
}
}