{"push_id":3022000382,"size":1,"distinct_size":1,"ref":"refs/heads/scrollEventFix","head":"4f3f2f50e165e1a3d9110301c1554330e7a2e7d8","before":"b42aba31c7d8aa46803ba5a9c6003b30131de89b","commits":[{"sha":"4f3f2f50e165e1a3d9110301c1554330e7a2e7d8","author":{"name":"Julien Pauty","email":"5c682c2d1ec4073e277f9ba9f4bdf07e5794dabe@griottemail.com"},"message":"Fixing scroll event rate\n\nOSX generates many events when scrolling with the touch pad. This is\nalso the case for mouses that have a continuous wheel. Lwjgl3 reports\nsmall movements with a scroll value lower than 1. The Lwjgl3 backend\nrounds these values to 1 or -1. If there are many such \"small\" events\nthe scrolling becomes ultra fast.\n\nThe current fix accumulates the scrolling values reported by Lwjgl3\nand sends a Gdx scroll event when the summed value is greater than\n1. This is done until the accumulated value is lower than 1. This\napproach also supports accelerations which are reported as scrolling\nvalue greater than 1. These values become a stream of 1 or -1 scroll\nevents.\n\nThere is also an event which is triggered when the user starts acting\non the wheel or when the user changes the scrolling direction. This\ngives a better reactivity, you don't have to scroll until you reach 1\nfor the scrolling to start.","distinct":true,"url":"https://api.github.com/repos/jpauty/libgdx/commits/4f3f2f50e165e1a3d9110301c1554330e7a2e7d8"}]}
{"actor":{"display_login":"jpauty"}}