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

Gamepad Support #43

Merged
merged 1 commit into from
Mar 20, 2021
Merged

Gamepad Support #43

merged 1 commit into from
Mar 20, 2021

Conversation

ptheywood
Copy link
Member

@ptheywood ptheywood commented Mar 20, 2021

Adds support for gamepads (i.e. xbox) for controlling the visualisation.

  • Adds gamepad support
  • reintroduces keyboard ascend/descend
  • Adds crude screenshot functionality (key P, gamepad arrow down)
    • Writes an upside down bitmap to screenshot.bmp in the working directory.

Tested on:

  • Windows
  • Linux

Could be cleaner, but for now it works.

+ Xbox pad bindings for most of the keyboard controls
+ Re-adds ascend/descend via keyboard
+ Adds very basic bmp screenshotting. Crude + upsidedown.
@ptheywood
Copy link
Member Author

Tested on linux and it works as intended, so merging (given rob can't test this due to a lack of a gamepad)

@ptheywood ptheywood merged commit 7affd2a into master Mar 20, 2021
@ptheywood ptheywood deleted the xbox branch March 20, 2021 18:42
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.

1 participant