Open Source

You can't move that!

calendar

    4 Haziran 2026

Last month I opened an issue in Servo after noticing that it can’t detect gamepads that are already connected. Thankfully one of the main contributors pointed out a similar issue and I decided to work on the problem.

To solve the problem I moved gamepad event listener to a different thread. The regular button clicked events worked that way but not haptic effects. The way haptic effects work required callbacks, and they had to be moved between threads as well. But apparently you can’t move functions between threads in Rust. Because of that reason I had to do a bigger refactor that’d also include changing the way haptic effects work.

As I was working on the problem the kurban holiday has started and I was AFK for the last half of may. I hope to finish the implementation in the coming days.

4 Haziran 2026

Yorumlar

Henüz yorum yok!

Hakkımda