OnSamplingInput

Called at the moment of sampling the input (currently on the gamethread)