value 1: mouse or keyboard