Refactor input system not to use directinput anymore