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

Fixes joystick button handling HAL JNI layer #341

Merged
merged 1 commit into from
Nov 11, 2016

Conversation

rrossbach
Copy link
Contributor

This should fix issue #340 where joystick buttons >=8 do not work correctly in wpilibj.

Needed to update the HAL JNI layer to treat the button field as an int rather than a byte

@frcjenkins
Copy link

Can one of the admins verify this patch?

1 similar comment
@frcjenkins
Copy link

Can one of the admins verify this patch?

@333fred
Copy link
Member

333fred commented Nov 11, 2016

@frcjenkins test this please

@333fred
Copy link
Member

333fred commented Nov 11, 2016

@frcjenkins ok to test

@ThadHouse
Copy link
Member

LGTM

@333fred
Copy link
Member

333fred commented Nov 11, 2016

Can we add a test for this? Do we have any joystick tests?

@ThadHouse
Copy link
Member

We do not have any joystick or DS tests, as I don't think the test DS software has that capability. When we get around to #327 I'd like to see if there would be a way to add tests for things like this.

@333fred 333fred merged commit 412b80d into wpilibsuite:master Nov 11, 2016
@rrossbach rrossbach deleted the Fix_joystickButtonJNI branch November 14, 2016 03:59
pjbuterbaugh pushed a commit to pjbuterbaugh/allwpilib that referenced this pull request Jun 15, 2023
* Clean up control system software page

Fix missing links. Fixes wpilibsuite#339.
Remove CTRE section. It was out of data and covered in third party
libraries.
Fix LabVIEW version and reference to eclipse
add the notation for cross-platform software

* No longer use asterisks to denote cross platform tools

* fix length of headings

Co-Authored-By: Austin Shalit <austinshalit@gmail.com>
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

4 participants