Combine keyboard inputs and mouse to improve input data