@@ static void ir_do_keyup(struct rc_dev *d
if (!dev->keypressed)
return;
+printk( KERN_INFO "KEYUP\n");
IR_dprintk(1, "keyup key 0x%04x\n", dev->last_keycode);
input_report_key(dev->input_dev, dev->last_keycode, 0);
if (sync)
On 04/
o a blank of RC5_UP_DELAY ns after the last pulse shall be
+ * enough to assume that the message is not repeated.
+ */
+ if (ev.duration > RC5_UP_DELAY)
+rc_keyup(dev) ;
+
data->state = STATE_INACTIVE;
return 0;
}
Signed-off-by: Stephane Ch
r the last pulse shall be
+ * enough to assume that the message is not repeated.
+ */
+if (ev.duration > RC5_UP_DELAY)
+rc_keyup(dev) ;
+
data->state = STATE_INACTIVE;
return 0;
}
Signed-off-by: Stephane Chauveau
--
To unsubscribe from t
E_FINISHED:
+if (ev.pulse)
+break;
+
+/* The message is repeated RC5_UP_DELAY ns after the 1st pulse
+ * so a blank of RC5_UP_DELAY ns after the last pulse shall be
+ * enough to assume that the message is not repeated.
+ */
+ if (ev.duration
E_FINISHED:
+if (ev.pulse)
+break;
+
+/* The message is repeated RC5_UP_DELAY ns after the 1st pulse
+ * so a blank of RC5_UP_DELAY ns after the last pulse shall be
+ * enough to assume that the message is not repeated.
+ */
+ if (ev.duration