Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkinney/gamemaker_input

repo to test gamemaker inputs
https://github.com/mkinney/gamemaker_input

gamemaker gamemaker-studio-2 gamepad input mouse mouse-events

Last synced: about 1 month ago
JSON representation

repo to test gamemaker inputs

Awesome Lists containing this project

README

        

Repo for testing GameMakerStudio 2 input (keyboard, mouse, and gamepad). I wanted to see what gamepads work best with GameMakerStudio2 and how to interact with them.

Note: You probably would not use this code for moving objects in your programs.

This has been tested on:

  • mac(from GameMakerStudio2)
  • windows10 (from GameMakerStudio2)
  • mac (using the HTML5 option). Tip: "Package as Loose Files", choose empty directory then you can test by using python webserver (python v2 "python2.7 -m SimpleHTTPServer 8000" or v3 "python -m http.server 8000" then open up [http://127.0.0.1:8000]() in browser.) Gamepad inputs will not work. Mouse and keyboard inputs do work as expected.
  • iOS mac/simulator - left click works, right click does not; double click seems to work like a right click; keys initially did not work as the keyboard is not active; but I enabled the virtual keyboard (via a VK button) and it works now
  • Ubuntu 18.04 - keyboard and mouse work as expected (have not tested gamepad)

    TODO:

  • Add virtual joysticks
  • Simple text input
  • Figure out how to get virtual keyboard to show on virtual iOS devices (works on real iOS device)
  • Figure out why game_restart(); does not work on iOS real device




    Best mac gamepad:




    SteelSeries Nimbus Gamepad



    Note: The rest of these gamepads did not work on mac.



    Windows gamepads:





    XBOX 360:


  • everything works as expected
  • the best one to get for Windows





    Logitech F310:


  • most things work ok
  • no select button
  • there is a back button on the gamepad but the input did not register
  • there is an X/O on bottom, but did not seem to affect outcome
  • the second best one to get for Windows





    iBuffalo Classic:


  • most things work ok
  • there is turbo button on gamepad but the input did not register





    Red Play:


  • most things did work
  • home registers as gp_padu
  • pad does not work
  • avoid this one





    Big Classics Retro Power gamepad:


  • most things work okay
  • no select button





    Retro Power PS gamepad:


  • most things work okay
  • select button does not register





    Retro Power Black with Purple buttons gamepad:


  • most things work okay
  • no gamepad up/down
  • avoid this one





    Retro Power Black Curve:


  • most buttons do not work
  • avoid this one





    Retro Power Brown:


  • most buttons do not work
  • avoid this one