delete inputdevices
add inputdevices