Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Use unsigned shorts as for value range #88

Merged
merged 3 commits into from
Nov 28, 2015
Merged

Conversation

akdor1154
Copy link
Contributor

The protocol documentation says x, y, and pressure range from 0 to 65535; in practice they ranged to 32767. This PR updates the code to match the documentation. It also changes the protocol to use standard integer types in C99 to try and remove any hint of ambiguity.

rfc2822 added a commit that referenced this pull request Nov 28, 2015
Use unsigned shorts as for value range
@rfc2822 rfc2822 merged commit f957287 into rfc2822:master Nov 28, 2015
@rfc2822
Copy link
Owner

rfc2822 commented Nov 28, 2015

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants