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

Adding Proper Keyboard Support #60

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Mar 11, 2018

  1. Adding Controller Awareness and Keyboard Movement

    This patch adds the input handling required for proper keyboard movement, including proper handling for instant left/right switching, should play fairly well.
    
    Modifications to Game.hs are to follow this
    ProfessorDey authored Mar 11, 2018
    Configuration menu
    Copy the full SHA
    67a1b3b View commit details
    Browse the repository at this point in the history
  2. Add Eq for ControllerType

    ProfessorDey authored Mar 11, 2018
    Configuration menu
    Copy the full SHA
    f8a85de View commit details
    Browse the repository at this point in the history
  3. Write Eq in Correct Language This Time

    Helps to remember when you're programming in Haskell and not Idris so you don't mess up the Eq instances.
    ProfessorDey authored Mar 11, 2018
    Configuration menu
    Copy the full SHA
    a065ebb View commit details
    Browse the repository at this point in the history
  4. Add Game.hs handling for Keyboard Input

    This side of things is a bit awkward due to the fact I've had to use the simpler p = refPosPaddly ci for the mouse movement as I'm struggling to understand how I can replicate the effect of the smoothed mouse movement in a case statement like this or with at least a similar structure.
    
    But it works fine and is very responsive.
    ProfessorDey authored Mar 11, 2018
    Configuration menu
    Copy the full SHA
    cb3967e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1 from ProfessorDey/patch-2

    Add Game.hs handling for Keyboard Input
    ProfessorDey authored Mar 11, 2018
    Configuration menu
    Copy the full SHA
    ca92e72 View commit details
    Browse the repository at this point in the history