Added InputListener interface to abstract from whether pressing,
dragging, or releasing is performed in relation to mouse buttons or
keyboard keys.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>