LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2004, 12:47 PM   #1
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
a challenge for you


ok.... here is my dilema...

i have been trying to get a MadCatz Panther XL to work "correctly"

>
> check it out....
>
> ...i have been digging and digging for information and had a
> question....i think i know the problem.... and maybe a solution....i dont
> know how to code in C, so any solutions would be useful...
>
> this is a link that i used to examine the driver...it also led me to the
> one on my computer....it is in /usr/src/linux-2.4.22/drivers/char/joystick/
> a3d.c
>
> http://enpc3240.eas.asu.edu/lxr/linu...char/joystick/
> a3d.c#L139
>
> on lines 157 and 158 you define HAT1X and HAT1Y as axis....this hat is
> actually
> suppossed to be normal buttons not axis.... the MadCatz Panther XL is a 6
> axis, 13 button controller....
>
> i think if you changed these lines and added two to define the hat as 4
> buttons, not an axis...
>
> not many games support the extra axis and buttons would be more
> useful....in fact if the above idea would work then you could define HAT0X
> and HAT0Y as buttons as well....it would work better....in other words if
> you could make it a 4 axis, 17 button controller....that would be
> awesome!!!! it would work much much better.... this is how it is
> configured in windows....and has always worked very well...
>
> thank you for your time... i look forward to your reply....


dig...i hope that made sense....

if somebody could rewrite that section....and give me instructions on how to install it correctly you would be doing the linux gaming world a HUGE favor...


thank you....

-derfaust
>
 
Old 03-10-2004, 01:02 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I am sure it would be easy to change, but I no means to test it, have you asked Vojteck Pavlik (vojtech@suse.cz)? I think I can see how it would need to be changed pretty quickly but debugging would be a pain.
 
Old 03-10-2004, 06:56 PM   #3
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
i have tried him several times...for about a month or so.... so i thought i would put it up here to see if you cats could get it.....

if you want to screw with it....let me know....ill test it....i appreciate your reply...

like i said, though....if you do ...i just need to know what to do to make it work...

would it be something like...make, make install....?

thanks....
 
Old 03-12-2004, 12:23 AM   #4
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
anybody?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want a challenge? TruckStuff Linux - Security 2 05-13-2005 01:39 AM
Scripting Challenge - HELP!!!! lapthorn Linux - General 2 05-20-2004 05:34 AM
The Penguin Challenge shane25119 General 8 04-15-2004 02:27 PM
Basic C++ challenge? mymojo Programming 5 12-15-2003 02:25 PM
Bash challenge!!! Nimoy Programming 16 11-16-2003 03:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration