Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor linuxPointingDevice #4

Merged
merged 9 commits into from
May 12, 2016
Merged

Conversation

Izzatbek
Copy link
Collaborator

The list of changes

  • Added linuxPointingDevice instead of linuxHIDPointingDevice.
  • Moved all threading and hardware access to linuxPointingDeviceManager.
  • Minor changes and fixes

This change was necessary, because there was a crash on Linux while creating more than one PointingDevice with the same URI. It was due to accessing a single file descriptor from different pointing devices (with different threads).

With this change, a single device file descriptor accessed only by a single thread created in linuxPointingDeviceManager. And linuxPointingDeviceManager deals with multiple linuxPointingDevice objects.

@Izzatbek Izzatbek closed this May 12, 2016
@Izzatbek Izzatbek reopened this May 12, 2016
@Izzatbek Izzatbek merged commit 3352b72 into master May 12, 2016
@Izzatbek Izzatbek deleted the refactorLinuxPointingDevice branch June 5, 2016 15:33
@Izzatbek Izzatbek restored the refactorLinuxPointingDevice branch September 26, 2016 13:35
@Izzatbek Izzatbek deleted the refactorLinuxPointingDevice branch September 26, 2016 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant