modify axis motion process so that mice and touchscreens can be
switched smoothly.
[df_input] add handling hot-plug events