JoyToKey on Android equivalent

Get help using Construct 2

Post » Thu Jan 16, 2014 2:41 pm

JoyToKey on windows is a program that maps your joystick to your keyboard. You can config your joystick all you want. Heck, you can even type document with it.

So the thing is this, I got myself some C2 games, but all of them are pretty much "programmed" to keyboard input right now. But we got some physical joystick add on and what not for smartphone, etc. (For example, http://www.mogaanywhere.com/ )

So do we have something like JoyToKey that allows the user to map the add on joystick to keyboard input on the smartphone? While I can create some more events for the joystick, I would like to know some methods out there to see if I can save some more time.keroberos2014-01-16 15:14:36
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469

Post » Thu Jan 16, 2014 2:51 pm

My thumbstick example covers all build in behaviours, so it wouldn't be hard to convert games with it.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 16, 2014 3:10 pm

@LittleStain The keyword is "keyboard", my friend. I will NOT be using touchscreen at all.keroberos2014-01-16 15:10:17
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469

Post » Thu Jan 16, 2014 3:20 pm

Pardon me for seeing joystick and smartphone in one sentence together and automatically thinking thumbstick.

I've never seen anyone plugging a joystick into a smartphone.

Construct itself hasn't got a simulate keyboardkey pressed action as far as I know.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 17, 2014 1:31 am

@LittleStain ever heard the term "no country for old men"?

For those who have been with joysticks for decades will know what am I talking about.

Here: www.mogaanywhere.com physical joystick for niche market. They do exist but as a niche. Some people like me can't really game without joystick.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469

Post » Fri Jan 17, 2014 7:50 am

I guess I'm an even older man than you are for the joysticks on that page look nothing like my commodore 64 and or Atari joysticks.. haha

But I at least understand what you mean now.
Thanks for showing me this niche of which I had no knowledge.

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jan 20, 2014 1:07 am

This should be easy, just use the gamepad plugin and Golbal Vairable to store the key press input.
B
25
S
6
G
4
Posts: 39
Reputation: 4,833

Post » Mon Jan 20, 2014 1:39 pm

@Fuged Yes indeed it is possible to do that, but if you see some Japanese indie folks, who simply develop games for their hobby, you will see some of them write this in their readme:

"Q: I want to use Joystick.
A: Please use JoyToKey."

This way, they can save a bit of time without putting all joystick stuff in. Beside, joystick's button mapping is all different for each joystick. Try grab yourself XBOX joystick and Logitech Joystick, their "button 1" is different button.

So if the player must map all these button presses anyway, let's have something more simple for the programming side.

Hence, this topic. ;)keroberos2014-01-20 13:39:59
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, Baidu [Spider], dop2000, oosyrag and 36 guests