[PATCH] dinput: Implement X/Y axis granularity and add test.