add support for remaining device modes
-rw-r--r-- 75 .gitignore
-rw-r--r-- 588 CMakeLists.txt
-rw-r--r-- 5231 convert-modeswitch.pl
-rw-r--r-- 6931 main.c
-rw-r--r-- 11131 switch.c
-rw-r--r-- 585 switch.h