Atmel Atmega32U4 based controller for four-wire touchscreens with direct mouse and/or digitizer support