Using Switch joy cons in glossy apecs game

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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