Need to check for device in SetInputMode.
Authored by: dholmes999 2008-12-24
Parent: [r263]
Child: [r265]