Re: [PATCH] firedtv: fix remote control with newer Xorg evdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stefan,

On Sun, Jan 16, 2011 at 09:39:21AM +0100, Stefan Richter wrote:
> @@ -188,6 +189,7 @@ void fdtv_handle_rc(struct firedtv *fdtv
>  		return;
>  	}
>  
> -	input_report_key(fdtv->remote_ctrl_dev, code, 1);
> -	input_report_key(fdtv->remote_ctrl_dev, code, 0);
> +	input_report_key(idev, code, 1);

input_sync() is needed here as well - userspace is free to accumulate
device state between EV_SYN events.

> +	input_report_key(idev, code, 0);
> +	input_sync(idev);
>  }
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux