added mouse and touchscreen input

multiple input devices are now supported.