What controllers do you support?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply

Supported Controllers

Keyboard and/or Mouse
17
40%
Sony-type Gamepad
11
26%
Sega-type Gamepad
2
5%
Arcade Controller
1
2%
Touch Screen
10
24%
Motion/Accelerometer/VR Controller
1
2%
Steering Wheels, Flight Sticks, etc.
0
No votes
 
Total votes: 42

User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

What controllers do you support?

Post by raidho36 »

Says it in the title. There are multitude of controllers, and often enough they differ physically making their control scheme unique in one way or another. What types of controllers do you support in your games, and why not other types?
Attachments
Arcade.jpg
Arcade.jpg (13.13 KiB) Viewed 6231 times
Sony.jpg
Sony.jpg (28.51 KiB) Viewed 6231 times
Sega.jpg
Sega.jpg (16.52 KiB) Viewed 6231 times
Last edited by raidho36 on Wed Feb 01, 2017 10:18 pm, edited 2 times in total.
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: What controllers do you support?

Post by Tanner »

Whichever is best for the game in question.
User avatar
zorg
Party member
Posts: 3441
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: What controllers do you support?

Post by zorg »

I'd say that i'd support anything since people may want to use anything, except i probably can't support everything for various reasons.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Rubix
Prole
Posts: 5
Joined: Mon Jan 30, 2017 10:12 pm
Location: Arizona, United States

Re: What controllers do you support?

Post by Rubix »

Depends on the platform, but when I'm developing for desktop I usually stick to kb+m and any type of usb gamepad.
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: What controllers do you support?

Post by Inny »

If you're going to use the Gamepad, please dynamically load gamecontrollerdb.txt, (so users can patch their own controllers into it) and also ship the most recent one from https://github.com/gabomdq/SDL_GameControllerDB

The code to do this is pretty much as easy as dropping this in your love.load function:

Code: Select all

  if love.filesystem.exists("gamecontrollerdb.txt") then
    love.joystick.loadGamepadMappings("gamecontrollerdb.txt")
  end
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: What controllers do you support?

Post by Jasoco »

What are the differences between a Sony and Sega controller? What about Xbox? Is that Sony-like? I don't get why there's two of those options. Is Sega like Genesis? Because no one would use that and you could easily replicate that with a modern controller. Is it like DreamCast because that's basically Xbox/PlayStation as well. I just don't know what Sega style means.

Anyway I agree with Tanner and Rubix. You use what suits your game and the platform. Don't try and shoehorn controls in just to get it on another platform. Something that happens too often. Like when a mobile game gets a PC/Mac version and it's literally the original with HUGE ASS BUTTONS THAT ARE SO OBVIOUSLY NOT MEANT FOR A TOUCH SCREEN /s. Or when you quickly port a game to mobile and you just add a virtual stick but don't also bother to add BlueTooth controller support for it.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: What controllers do you support?

Post by raidho36 »

Sega controller has 6 face buttons, Sony controller has 4 face buttons. That creates very distinct control schemes. XBox controller is clearly Sony-type since it's molded after DualShock 2 more or less, so are modern Nintendo controllers. Many people use controllers with 6 face buttons, predominantly for fighting games but they also offer control schemes with unique feel and charm that's outside of 4 face button controllers' realm.
User avatar
ken.athomos
Citizen
Posts: 77
Joined: Fri Aug 05, 2016 10:13 am
Location: Philippines

Re: What controllers do you support?

Post by ken.athomos »

Currently only supporting kb+m since I still consider myself within the learning process for game dev with LOVE2D. However, I have no problems whatsoever with trying to learn to support controllers in the near future.

If ever that I do decide to support controllers, I'd probably start with the "modern" usb controllers (something similar to an Xbox Controller or a Logitech Controller) mainly because I am assuming that most people today own it (excluding the fact that some of said people own some of the mentioned controllers above).
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: What controllers do you support?

Post by Karai17 »

kb/m is the obvious first choice. If my game is suited for controllers, I generally go for whatever is supported by the gamepad API. This generally means X-input devices or equivalent.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 168 guests