Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

Re: Ren'Py 6.15 Pre-Releases

#16 Post by AxemRed » Thu Feb 21, 2013 6:41 pm

Jake wrote:(I've tried using joy2key before, and it was nothing but a massive hassle. Maybe it's got better, it was years ago, but it's not something I'd expect everyone to bother with.)
I've been using it for a couple of years now (since '09). No install, only takes about a minute or two (one time) to set up the proper key bindings.

FWIW Binding of Isaac doesn't have gamepad support and instead just tells you to download joytokey.

User avatar
Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Ren'Py 6.15 Pre-Releases

#17 Post by Jake » Thu Feb 21, 2013 7:07 pm

AxemRed wrote: only takes about a minute or two (one time) to set up the proper key bindings
One time per game, mind. It's pretty unlikely that two separate games have exactly the same set of keys you want to map to exactly the same set of joypad inputs.

More likely if they're all Ren'Py games, sure, but let's not assume that that's all anybody ever plays. :P
Server error: user 'Jake' not found

User avatar
AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#18 Post by AxemRed » Thu Feb 21, 2013 7:29 pm

Of course you need to set it up per game, but we were talking about Ren'Py.

VNCreator
Newbie
Posts: 1
Joined: Mon Feb 25, 2013 4:08 am
Contact:

Re: Ren'Py 6.15 Pre-Releases

#19 Post by VNCreator » Mon Feb 25, 2013 10:59 pm

SundownKid wrote:
PyTom wrote:
SundownKid wrote:Any idea when we can possibly get customizable screens to remap either keys or joystick inputs? For accessibility reasons, such a thing would be great.
I don't have plans to do either of these. If anything, I may take out joystick support - I don't think people use it very often.
...
Basically, joystick support is actually useful. Even I want to use it.
I have to agree with this. Built in joystick support is very useful. Even though it's not used often, I think it's a critical feature for some people. I might guess that the reason people don't use it very often is due to their own experiences. I'm in the software industry myself, and accessibility is something we're always careful to include.

I know that technically installing another utility will get the job done, and it's something we can do ourselves with little problem, it's not a very good solution for beginners.

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#20 Post by SundownKid » Mon Feb 25, 2013 11:26 pm

The thing is, joysticks work with Renpy by default, so will that conflict with Joy2Key? I really think the player should be allowed to rebind ANY of their keys, that's standard in most games and probably visual novels.

User avatar
drvoke
Newbie
Posts: 14
Joined: Mon Apr 15, 2013 2:13 am
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#21 Post by drvoke » Sun Nov 09, 2014 12:43 am

I'm really sorry to bump such an old topic, but I would really like confirmation on whether the plan to deprecate joystick support is still going forward? Native support for joystick navigation of the UI is one of the top reasons I picked Ren'Py for my project, beyond simply having a simple GUI framework that is easy to animate. It would be nice to know if joystick support intends to be dropped so I can re-tool my project sooner rather than later.

If joystick support will be dropped eventually, can anyone recommend an alternative GUI framework for Python that supports joystick events, or might have some insight on how complex it might be to add handlers for pygame joystick events to an existing UI framework like PySide or wxPython? I'm early enough in the project that I'm also able (but not happy) to switch to another OO language like Java if there are better recommendations.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#22 Post by PyTom » Sun Nov 09, 2014 1:22 am

I don't have any plans to drop it, although I also don't have concrete plans to improve it.

The SDL2 code has support for joysticks, so I suspect it will be around for a long time.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
drvoke
Newbie
Posts: 14
Joined: Mon Apr 15, 2013 2:13 am
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#23 Post by drvoke » Sun Nov 09, 2014 1:34 am

I am greatly relieved. Thanks, Tom!

User avatar
qirien
Miko-Class Veteran
Posts: 538
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Discord: qirien
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#24 Post by qirien » Fri Feb 13, 2015 1:58 am

Sorry to bump an old post, just wanted to add my support for this. I would like to release my game for OUYA, whose main input is a joystick, and couldn't get the current "Joystick..." screen to allow me to assign keys. If it was customizable, it would be easier to play around with it and see why it's not working.
Finished games:
Image
Image
Image

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#25 Post by PyTom » Fri Feb 13, 2015 10:42 am

The OUYA support doesn't use a joystick at all - it maps the controller to to a keyboard.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
qirien
Miko-Class Veteran
Posts: 538
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Discord: qirien
Contact:

Re: Joystick Support (was Re: Ren'Py 6.15 Pre-Releases)

#26 Post by qirien » Fri Feb 13, 2015 10:44 am

Really? The joystick button is active and I can try to assign buttons... but it doesn't accept the buttons' input (maybe because it sees the button presses as a keyboard presses?). I was hoping to assign Y and U to "menu" and "skip"...
Finished games:
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users