OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Can I Use Usb Joypad Like Usb Keyboard?
csj0217
post May 11 2006, 10:57 AM
Post #1





Group: Members
Posts: 9
Joined: 13-September 05
Member No.: 8,108



Hello.
MY Z is SL-C3100.

I like to play emul games.
So I bought USB host cable, and USB Joysticks.

First, I found that old emulators don't support USB Joystick input.
I went to this page

http://www.piro.hopto.org/~piro/pukiwiki/p...%DF%A5%E5%5D%5D

And got emulators that was patched.

However, I don't understand why we do this stupid thing.

If Z changes signals of USB Joypad to Keyboard input (like a keyhelper), we don't need to make patched emulators.

Also, we can use USB Joypad as a remote controller when we read e-books or something.



Does anyone know how to change USB Joypad signals to keyboard signal?
Go to the top of the page
 
+Quote Post
sidmoraes
post May 11 2006, 12:02 PM
Post #2





Group: Members
Posts: 116
Joined: 25-July 05
From: Brazil
Member No.: 7,691



QUOTE(csj0217 @ May 11 2006, 10:57 AM)
Hello.
MY Z is SL-C3100.

I like to play emul games.
So I bought USB host cable, and USB Joysticks.

First, I found that old emulators don't support USB Joystick input.
I went to this page

http://www.piro.hopto.org/~piro/pukiwiki/p...%DF%A5%E5%5D%5D

And got emulators that was patched.

However, I don't understand why we do this stupid thing.

If Z changes signals of USB Joypad to Keyboard input (like a keyhelper), we don't need to make patched emulators.

Also, we can use USB Joypad as a remote controller when we read e-books or something.



Does anyone know how to change USB Joypad signals to keyboard signal?
*


joy2key make this.

take a look at:
http://www.oesf.org/forums/index.php?showt...l=joy2key&st=15
Go to the top of the page
 
+Quote Post
csj0217
post May 12 2006, 12:34 AM
Post #3





Group: Members
Posts: 9
Joined: 13-September 05
Member No.: 8,108



WOW !!

Thank you very much !!!
Go to the top of the page
 
+Quote Post
mbagsh55
post May 12 2006, 08:33 PM
Post #4





Group: Members
Posts: 24
Joined: 6-July 05
From: Singapore
Member No.: 7,549



Hello,
I am trying to do much the same, use a USB-joypad for a few classic NES (Znester).

I have Meanie's JoyEnabler installed and have tested the joystick with jstest (all OK), and even managed to get a few roms working with the ZNester-joy executable, although like csj0217 I have frustrated, since it only works in a small screen and much slower than the ZEmu packaged version.

I have downloaded the joy2key_z.tgz.txt file posted by sidmoraes in the referenced thread, removed the .txt extension extracted the two files using gzip and tar, and tried the following (as suggested)

cp joy2key-z /usr/local/bin/
chmod +x /usr/local/bin/joy2key-z
cp .joy2keyzrc /home/root
joy2key -config kbd1

I get the warning that "More buttons specified than joystick has!" - probably beacuse I am use a pretty basic joypad, and then "Initialization complete, entering main loop, ^C to exit...

...and - well that is it. The joypad doesn't appear to junction in any way in any NES game, or replicate the arrow keys in an editor for example, which I expected.

I also tried without the config option and I am prompted to calibrate three axes which all seems OK, but again once the main loop is entered nothing seems to happen".

Any suggestions on where I have gone wrong?
Thanks and regards,
Marcus
Go to the top of the page
 
+Quote Post
Da_Blitz
post May 18 2006, 03:15 AM
Post #5





Group: Members
Posts: 1,565
Joined: 7-April 05
From: Sydney, Australia
Member No.: 6,806



cant wait to get wy hands an a ps3 controleer and hook it up over bluetooth
Go to the top of the page
 
+Quote Post
MrStaypuft
post Aug 24 2006, 01:44 PM
Post #6





Group: Members
Posts: 63
Joined: 17-July 06
Member No.: 10,437



Hi,

I have a sl-c3200 running the sharp rom.

I have got my joypad working as far as the Z is concerned - it tests fine as /dev/js0

However I want to use something to map the joypad inputs to the keyboard for two reasons
1) The game emulators which have joystick support are SLOW
2) Some game emulators don't have joystick support!

So I followed the setup in the joy2key thread and installed joy2key but no matter what I do joy2key doesn't seem to pass any inputs to any other programs.

For example I run
joy2key -config kbd1

I get the usual guff about it starting up and not being an official version and it says ^C to exit.

So I run Zeditor and press all the buttons on my joystick and nothing happens....

I've tried a few different configs or even specifying my own but nothing seems to work.

Anyone got any ideas?

Thanks,

Puffer
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2014 - 01:28 AM