Input classes' button methods + logical devices

Testing and fixes for the physical devices and logical device. Button
methods now complete and working, plus logical device "map" and "chord"
functions are complete. Fixed =/== bug.