Ignore and stop listening if the key event has either Command or Alt modifier bits set, so e.g. Cmd-W doesn't reset the key.
Have device controller setup itself rather than relying on the application delegate to do it.