This union is unnecessary since the recent input device refactor and can now be replaced by wlr_*_from_input_device() functions.