But if you do use a wired mouse or, like me, a wireless mouse with a USB dongle, this fix is worth a try. I suspect most folk do which is why the Pi People have not set this to a better value before. And if you’re using BLE, of course, you’re probably wondering what the heck I’m on about. You might see different outcomes with mice connected to one of the Pi’s USB 3.0 ports. You should note that I have a wireless mouse connected to the Raspberry Pi keyboard, which itself connects to a Pi USB 2.0 port. I didn’t feel any need to poll more rapidly, but you may want it smoother. I found setting the value to 8 gives me so much better responsivity that I’m happy to put up with the small increase of approximately seven per cent in CPU usage that I saw. There is a catch: the more polling Raspbian does, the more work the CPU has to do. Each of these represents a doubling of the poll rate: 250Hz, 500Hz and 1000Hz. There are other values you can supply: going down to one, halving the value each time, ie. I don’t know what the default mouse poll rate is, but setting the value to 8 is equivalent to polling 125 times a second (125Hz). Adjusting Raspbian’s mouse acceleration and speed settings doesn’t help. It feels like you’re pushing the cursor through virtual mud. Out of the box, the poll rate is too slow, so you move the mouse and the cursor noticeably struggles to keep up with you. What this does, as step 2 indicates, is set the rate at which Raspbian polls the mouse for movement changes. Add the following text right at the end of the single line, leaving a single space between the new entry and the previous one:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |