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

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Joysticks On The Zaurus, Connecting and using via usb host
sidmoraes
post Jan 24 2006, 03:55 PM
Post #16





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



QUOTE(Jon_J @ Jan 23 2006, 10:35 PM)
$ jstest /dev/js0
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
-------------------------------


I believe you have the joystick working. Try to see command line in another reply.

Otherwise you can use joy2key. I use it for games that does not suport joystick in zaurus.

Rename the file, without ".txt"

Give me your return.
Attached File(s)
Attached File  joy2key_z.tgz.txt ( 10.74K ) Number of downloads: 553
 
Go to the top of the page
 
+Quote Post
sidmoraes
post Jan 24 2006, 03:57 PM
Post #17





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



QUOTE(tombraider @ Jan 24 2006, 02:24 PM)
Anybody have success with Heretic?



Try joy2key...
Go to the top of the page
 
+Quote Post
Jon_J
post Jan 24 2006, 05:19 PM
Post #18





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



Seems like I'm missing a library file "libsl.qmid"
I used Tree!explorer and looked in /home/QtPalmtop//i18n/en/
Only file in there is ".directory"
Here's my output:
--------------------------------------------------------
$ snes9x-sdljoy -j -xs 320 -ys 240 flashback.smc
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
Initializing SDL JOYSTICK SUBSYSTEM...
Using standard joystick setting.
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons.
Ok.
Rate: 22050, Buffer size: 4096, 16-bit: yes, Stereo: yes, Encoded: no
QT_GetMachine: /proc/deviceinfo/product is 'SL-C3100
'
detected machine is 'Sharp SL-5000D'
QT_GetRotation: Read spec from '/tmp/qtembedded-zaurus/QtEmbedded-0.spec'
spec is 'Transformed:Rot270:Vga:0'
Rot=3, Qvga=0
QT_SetVideoMode: argSize=480x640
QT_SetVideoMode: qteSize=640x480
QT_SetVideoMode: fbSize=480x640
QT_SetVideoMode: qteRotation=3
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=0
QT_SetVideoMode: qteKeyRotation=3
QT_SetVideoMode: sdlKeyRotation=0
Error opening: flashback.smc
Display size = 480x640
----------------------------------------------------------------------
EDIT: I didn't know where to ungzip these 2 files in the "joy2key_z.tgz"
Thank you,
Jon

This post has been edited by Jon_J: Jan 24 2006, 05:32 PM
Go to the top of the page
 
+Quote Post
tombraider
post Jan 26 2006, 06:02 AM
Post #19





Group: Members
Posts: 409
Joined: 23-November 04
From: Murphy, North Carolina USA
Member No.: 5,590



Where do you nplace these files???? huh.gif

QUOTE(sidmoraes @ Jan 24 2006, 11:55 PM)
QUOTE(Jon_J @ Jan 23 2006, 10:35 PM)
$ jstest /dev/js0
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
-------------------------------


I believe you have the joystick working. Try to see command line in another reply.

Otherwise you can use joy2key. I use it for games that does not suport joystick in zaurus.

Rename the file, without ".txt"

Give me your return.
*

Go to the top of the page
 
+Quote Post
sidmoraes
post Jan 26 2006, 08:21 AM
Post #20





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



QUOTE(Jon_J @ Jan 24 2006, 05:19 PM)
Error opening: flashback.smc


You have trouble with these "rom".
Go to the top of the page
 
+Quote Post
sidmoraes
post Jan 26 2006, 08:26 AM
Post #21





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



QUOTE(tombraider @ Jan 26 2006, 06:02 AM)
Where do you nplace these files????  huh.gif



Anywhere. Then run: ./joy2key -config kbd1
Did you se a file called ".joy2keyzrc" ?
Go to the top of the page
 
+Quote Post
Jon_J
post Jan 26 2006, 09:43 AM
Post #22





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



sorry for the newb questions, but when I run /joy2key -config kbd1
I get "No such file or directory"
"joy2key_z.tgz" is in the root dir of my SD card
Should I place it on my internal hard drive, or can I change to my card directory, and run it from there?

flashback.smc did run from the frontend in Qtopia (Z Emu Frontend Ex)
Thank you,
Jon
Go to the top of the page
 
+Quote Post
sidmoraes
post Jan 26 2006, 10:33 AM
Post #23





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



QUOTE(Jon_J @ Jan 26 2006, 09:43 AM)
sorry for the newb questions, but when I run /joy2key -config kbd1
I get "No such file or directory"
"joy2key_z.tgz" is in the root dir of my SD card
Should I place it on my internal hard drive, or can I change to my card directory, and run it from there?

flashback.smc did run from the frontend in Qtopia (Z Emu Frontend Ex)
Thank you,
Jon
*


if you have gtar >>
******************
su -
gtar -zxvf joy2key_z.tgz
cp joy2key-z /usr/local/bin/
chmod +x /usr/local/bin/joy2key
cp .joy2keykeyzrc /home/root
joy2key -config kbd1
******************

start your game and give to me your feedback.
Go to the top of the page
 
+Quote Post
Jon_J
post Jan 26 2006, 01:43 PM
Post #24





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I didn't have gtar, so I found this version from this forum. Post is dated June 2005.
(gtar_1.13.25-1_arm.ipk)
After I installed gtar, I followed your directions and below is my output.
"joy2key_z.tgz" is on my SD card. Is that causing a problem?
My SD card is formatted as FAT
--------------------------------
$ su -
# gtar -zxvf joy2key_z.tgz
tar (child): joy2key_z.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
gtar: Child returned status 2
gtar: Error exit delayed from previous errors
#
--------------------------------
Thank you,
Jon
Go to the top of the page
 
+Quote Post
sidmoraes
post Jan 31 2006, 06:40 AM
Post #25





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



QUOTE(Jon_J @ Jan 26 2006, 01:43 PM)
I didn't have gtar, so I found this version from this forum. Post is dated June 2005.
(gtar_1.13.25-1_arm.ipk)
After I installed gtar, I followed your directions and below is my output.
"joy2key_z.tgz" is on my SD card. Is that causing a problem?
My SD card is formatted as FAT
--------------------------------
$ su -
# gtar -zxvf joy2key_z.tgz
tar (child): joy2key_z.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
gtar: Child returned status 2
gtar: Error exit delayed from previous errors
#
--------------------------------
Thank you,
Jon
*



Did you renamed the file from joy2key_z.tgz.txt to joy2key_z.tgz ?
Go to the top of the page
 
+Quote Post
Jon_J
post Jan 31 2006, 07:23 AM
Post #26





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I removed the *.txt extension. I'll try downloading it again.
I think it is corrupt, because I just tried winrar (in windows) and extracted "joy2key-z" & ".joy2keyzrc", but got this error from winrar:
! E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz: CRC failed in E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz. The file is corrupt

I also used the "test archive" in winrar and got the same message.
Is winrar an acceptable method for checking downloaded *.tgz and/or *.ipk files for download corruption?

Thank you,
Jon
EDIT. I just downloaded it again, removed the *.txt extension in windows, and opened it in winrar and tested it. Winrar gives me the same corruption message about CRC failing in this file, as above.

2nd EDIT. I just tested several *.tgz files, that I have downloaded for my Zaurus, in Winrar, and Got "No errors found during test operation"

Does joy2key_z.tgz.txt need to be converted? Like in a newsreader "from text to bin", or something like that?

This post has been edited by Jon_J: Jan 31 2006, 07:33 AM
Go to the top of the page
 
+Quote Post
sidmoraes
post Feb 1 2006, 07:38 AM
Post #27





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



QUOTE(Jon_J @ Jan 31 2006, 07:23 AM)
I removed the *.txt extension. I'll try downloading it again.
I think it is corrupt, because I just tried winrar (in windows) and extracted "joy2key-z" & ".joy2keyzrc", but got this error from winrar:
!  E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz: CRC failed in E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz. The file is corrupt

I also used the "test archive" in winrar and got the same message.
Is winrar an acceptable method for checking downloaded *.tgz and/or *.ipk files for download corruption?

Thank you,
Jon
EDIT. I just downloaded it again, removed the *.txt extension in windows, and opened it in winrar and tested it. Winrar gives me the same corruption message about CRC failing in this file, as above.

2nd EDIT. I just tested several *.tgz files, that I have downloaded for my Zaurus, in Winrar, and Got "No errors found during test operation"

Does joy2key_z.tgz.txt need to be converted? Like in a newsreader "from text to bin", or something like that?
*



I does not use windows to open these file. Use gunzip and tar or gtar in your Z.
Go to the top of the page
 
+Quote Post
bam
post Feb 2 2006, 01:02 AM
Post #28





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



here is how I did it, I took a Super Nintendo game controller and a usb keyboard, traced out the pins for the corrosponding keys(on the keyboard)then wired the buttons on the SNES controller to those points I traced on the keyboard, the small circuitry of the keyboard actually fitted into the SNES controller. End result is a SNES controller with a usb cable that sends keyboard data via usb to the zaurus. I payed $8.00 (usd) for the controller and $15.00 (usd) for the keyboard. Works perfectly!

will post pictiures and keyboard manufacturer on my site when I get some time. Along of course with details of what pins connect to what buttons.
Go to the top of the page
 
+Quote Post
zhaven444
post Feb 10 2006, 06:50 AM
Post #29





Group: Members
Posts: 4
Joined: 1-February 06
Member No.: 9,049



Successully make my joypad works in Cacko-lite 1.23.

1. I have installed input-modules-2.4.20_1.23-lite-1_arm.ipk, (ver 2.4.18 not work for me).

2. Then lsusb in console to get my joypad HID. My joybad is a Zeroplus vibration model, with ID# 0c12:0005.

3. Next add the ID# in /etc/hotplug/usb.handmap. I just copy one entry any one of joypad in the file and replace the 2nd and 3rd parameter with above, i.e. 0x0c12 0x0005

4. reboot my C1000 and it works in jstest and snes9x! biggrin.gif

BTW, here is a link of usb id list.

http://www.astro.ufsc.br/~andre/links/data.../kcmusb/usb.ids
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
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: 14th July 2014 - 04:59 AM