(Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data