talking : ver b0.7


Add

Fix

gamepad support

  • [x] love.joystiks_getJoysticks() -> array of object : Joystick class

Joystick class = gamepad

  • [x] Joystick.getButtonCount() -> number // get number of button
  • [x] Joystick.getAxisCount() -> number // get number of axis and analog button
  • [x] Joystick.getId() -> number
  • [x] Joystick.getName() -> string
  • [x] Joystick.isDown(id:number) -> bool // return true if button id is down
  • [x] Joystick.getAxis(id:number) -> number -1.0 -> 1.0 // axis or analog button

https://github.com/oblerion/love2d.js/discussions/11#discussion-7981482

Witch feature do you want in future ?

Get love2d.js

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.