Solved

Flash and Joystick question

Posted on 2011-03-01
7
345 Views
Last Modified: 2012-05-11
we have a joystick and i'm testing this with an old pacman game.
if i keep a key press down, the joystick does not get repeated events, just once.
anyone have any idea about how to get a joystick and place to play nicely.
0
Comment
Question by:blue-genie
  • 5
7 Comments
 
LVL 9

Assisted Solution

by:sah18
sah18 earned 250 total points
ID: 35008212
I believe to use a joystick with Flash, you need to use the Joystick's software and map its movement to keyboard keys (which Flash does support).  If you are able to map to repeatable keys, this may solve your problem.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35008365
how do i map to repeatable keys?
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35009168
we did a test now. when going in a diagonal, the windows driver/app sends out the 2 keys, however once i change it from say north east to just east, it does not seem to update accordingly.

i'm not sure what the correct terminology is here, on a fact finding mission to try and figure this out.

0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 19

Accepted Solution

by:
quizengine earned 250 total points
ID: 35009567
try xpadder.com - Xpadder simulates the keyboard and mouse using your gamepad.

It's primarily written to allow you to control games from a joystick / joypad where the games have no native support for joysticks / pads. Very versatile / tons of options. Hope it helps.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35009879
@quizengine tx - busy downloading some other thing i google'd.
will get back to you guys.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35014880
@quizengine - that xpadder requires purchase, not an option at the moment.

it seems the problem doesn't reside with flash but  it's a windows issue (or so i've been told) - the C# guys are dealing with it now.

:-)
i'm going to go ahead and close this, and award points for the effort.
0
 
LVL 39

Author Closing Comment

by:blue-genie
ID: 35014887
the problem didn't exist in flash.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question