Refactored software keyboard support to actually... work
Handle mouse emulation events from touch