change also layout in inputdevice