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

Switched NPS joystick support to SDL for cross-platform use #232

Closed
wants to merge 3 commits into from

Conversation

scdwyer
Copy link
Contributor

@scdwyer scdwyer commented Jun 28, 2012

Two other commits are present, one to fix spektrum serial port issue with UICLC flag as mentioned in Issue #155. The other is to make sure ocaml headers are available (is this needed on Linux?).

Any concerns/changes/comments?

…e linux interface for cross-platform support.

 * now explicitly update the joystick values instead of running in a glib event loop
 * combination of polled axes and event driven buttons
 * options now uses just the SDL index as an optional argument, defaults to index 0 (first joystick on system)
…rborne/arch/sim/subsystems/radio_control/ppm_arch.c file
@scdwyer
Copy link
Contributor Author

scdwyer commented Jun 29, 2012

This should be the second and final part of fixing Issue #195.

@flixr
Copy link
Member

flixr commented Jun 30, 2012

I think we should check if UICLC flag is defined instead of checking if it is non-zero...
Also there should be no need for ocaml includes for the nps target, so a proper fix would be to make sure none ocaml headers are needed/included for nps.

@scdwyer scdwyer closed this in 3fd335c Jun 30, 2012
flixr pushed a commit to flixr/paparazzi that referenced this pull request Jun 30, 2012
…e linux interface for cross-platform support.

 * now explicitly update the joystick values instead of running in a glib event loop
 * combination of polled axes and event driven buttons
 * options now uses just the SDL index as an optional argument, defaults to index 0 (first joystick on system)
closes paparazzi#232
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

2 participants