Using Switch joy cons in glossy apecs game

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/haskell

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • talent.io - Download talent.io’s Tech Salary Report
  • Scout APM - Truly a developer’s best friend
  • Unity2D

    Unity 2D roguelike tutorial using APECS

    As an extra, I want to be able to control the game with the Nintendo Switch joy cons. I have successfully connected the joy cons and I'm reading the input in the stepping function (6th argument of play - called periodically) instead of the event handling function (5th argument), as the latter only recognizes keyboard and mouse input. Here is an excerpt of what I'm doing in the step function, the full details of handleSwitch can be seen here (essentially read input if the buttons are pressed when the stepping function is called, interpret the input and update the scene).

  • sdl2

    Haskell bindings to the SDL2 library

    Hmm you'd probably need to dig into the source to figure out what's going on. The SDL2 GameController API (bindings) works with joy cons, as an alternative.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts