|
|
Search
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
This new version of my joy device plugin for Linux comes with a configuration dialogue; it has been tested with ePSXe 1.5.1 on SuSE 7.3. Please tell me if it works or not on your PCs and what should be improved. Binary and source available at http://download.ammoq.com
|
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
|
#2 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
Tested it with pcsx... generally works, but buttons are totaly confused, i.e. up-down-left-right and triangle-cross-square-circle are swapped. Looks like epsxe has a different understanding of Joypad Plugins than PCSX. Well, this one works with ePSXe. If someone wants it for PCSX, contact me and I will make a different version which works well with PCSX.
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Jan 2002
Posts: 23
|
Nice Work. I can finally play MGS on my pc with a gamepad. Anyway, here is some information that you requested:- which Linux version, which joydevice are you using? Using Mandrake 8.2 as well as Redhat7.2. Both distros appear to work just fine. - is the assignment of axes to up-down-left-right working properly? Yes, perfectly... however this was not the case for lamer0's pad plugin. - which button-layout did you choose? I assigned each button in the config dialog box. - what was the device file name? /dev/input/js0 I have used two different pads with the plugin so far, 1)Gravis Gamepad Pro 2)MS Sidewinder. Both of these pads use the gameport. I have a usb pad also which I can eventually test. Have not yet tested the plugin with pcsx. Will get back to you on that one. |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Apr 2002
Posts: 3
|
Now only if I could figure out why using gamecon(part of the kernel that allows you to use playstation, n64, etc controls like ntpad or directpad pro does) causes my system to slow. Parport is loaded with DMA support, which makes me believe its something else. Anyone have this problem?
|
|
|
|
|
|
#7 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
turbofan: there is a difference in the way PCSX and ePSXe interpret joypad data, that's why i made a PCSX toggle button to change it. Lamer0's pluggin uses the PCSX layout, so it won't work well with ePSXe.
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
|
|
#8 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
Version 0.4 (now available) also supports keyboard input, but this doesn't work with ePSXe (no need, since ePSXe handles keyboard input itself). Now, also the joysticks axes can be configurated.
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
|
|
#9 (permalink) |
|
Moderator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Earth,Europe,Italy,Turin
Posts: 292
|
please report ePSXe or PCSX developers the misbehaviour About gamecon: I experienced too that slowdown I just looked at the camecon source w/out having hints about, I'll try with the parport source now (I do hate that the latest kernel supporting gamecon well is th 2.4.2 ) |
|
|
|
|
|
#10 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
reported it to _demo_ and linuzappZ; keyboard not working in ePSXe is (in my eyes) not a fault but by design (if ePSXe reads the keyboard events, the plugin doesn't get them)
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
|
|
#11 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
there is a new version available, which allows to read joy device input in a seperate thread, to avoid blocking (some people have this problem, hope this helps)
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
|
|
#12 (permalink) |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2001
Location: Kuala Lumpur, Malaysia.
Posts: 7,719
|
great, I'll give u some red stars! ![]() ** EDIT: no red stars? that's strang... :confused:
__________________
Kellicros' DeviantArt Last edited by Evil Squall; April 28th, 2002 at 13:32.. |
|
|
|
|
|
#13 (permalink) |
|
Advanced Newbie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2001
Location: Bogotá... not that it matters...
Posts: 5,792
|
maybe u r not alloed to do that ;P<span style="height: 11; Filter: Glow(Color=black)>
__________________
Main Rig: Pentium Dual-Core E2160 @ 2.8GHz -- 9600GT @ 715/1033MHz -- 4GB DDR2-667 4-4-4-12 -- Windows Server 2008 SP2
Collecting dust: AMD Athlon XP 2600+ -- ATI Radeon 9500 Pro -- SB Live 5.1 Digital -- 2.5GB DDR 2-2-2-5 Ram -- Windows 2003 server r2 SP1 |
|
|
|
|
|
#15 (permalink) |
|
Registered User
Join Date: Oct 2001
Posts: 10
|
The reason the gamecon driver, under Linux, slows everything down is this: When the controller is in analog mode, it has about 64 bits (or so) of data to send/receive. The parallel port talks to the controller in bits, so that is 64+ transfers it has to do. Each transfer has a delay of about 120 microseconds (60 with clock high, 60 with clock low). 64 * 120 = 7680us = 7.6ms. That is about 130th of second, or about half of a 60Hz frame. *ouch* ![]() If look at the function gc_psx_read_packact (in $/linux/drivers/char/joystick/gamecon.c) You will see the following: interrupts off (kernel is "paused") talk to controller interrupts on I didn't notice too much of a slow down when using my controller in digital mode (less data to transfer), but in analog mode I really noticed it. -- Keith |
|
|
|
|
|
#19 (permalink) |
|
Registered User
Join Date: Oct 2001
Posts: 10
|
What I meant when I said "controller in digital mode" was that the red LED on my dualshock controller was off. When the analog sticks are not "on" the controller has less data to transfer, therefore the kernel is paused for a shorter time. One other thing to note about the gamecon driver (at least in linux 2.4.18) is that the L3/R3 button (pressing the analog sticks down) did not work. I submitted a patch (the problem was a small typo) to the author and hopefully there will be a new gamecon driver in 2.4.19. The only way to speed this up would be to lower the delay time the gamecon driver uses for clocking the controller. Perhaps the scanning delay could be made into a module parameter, maybe I'll try it out tonight and see how it goes. -- Keith |
|
|
|
|
|
#20 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
Thanks, krz, one more question since you know this stuff very well: An ePSXe user who has speed probs with gamecon and padJoy told me he has absolutely no speed problems with other games, so what could that other games do to avoid this? Any ideas?
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|