Lines Matching refs:imon
2 // ir-imon-decoder.c - handle iMon protocol
40 struct imon_dec *imon = &dev->raw->imon;
43 if (imon->bits == 0x299115b7)
44 imon->stick_keyboard = !imon->stick_keyboard;
46 if ((imon->bits & 0xfc0000ff) == 0x680000b7) {
50 buf = imon->bits >> 16;
53 if (imon->bits & 0x02000000)
55 buf = imon->bits >> 8;
58 if (imon->bits & 0x01000000)
61 if (rel_x && rel_y && imon->stick_keyboard) {
63 imon->bits = rel_y > 0 ?
67 imon->bits = rel_x > 0 ?
72 if (!imon->stick_keyboard) {
77 (imon->bits & 0x00010000) != 0);
79 (imon->bits & 0x00040000) != 0);
83 rc_keydown(dev, RC_PROTO_IMON, imon->bits, 0);
95 struct imon_dec *data = &dev->raw->imon;
233 struct imon_dec *imon = &dev->raw->imon;
235 imon->stick_keyboard = false;