Joystick

ZGE Source Code discussion. Ask questions, present your changes, propose patches etc.

Moderator: Moderators

Post Reply
User avatar
Kjell
Posts: 1650
Joined: Sat Feb 23, 2008 11:15 pm

Joystick

Post by Kjell » Tue Jun 24, 2008 6:57 pm

8)

Raising the bar a little .. Joystick support coming up.

K
Attachments
Joystick.gif
Joystick.gif (4.95 KiB) Viewed 4811 times

kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 » Wed Jun 25, 2008 6:13 am

I know it's Off-Topic, but... how much spare time do you have for beeing so active in ZGE developing? ;)

User avatar
VilleK
Site Admin
Posts: 1924
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK » Wed Jun 25, 2008 8:07 am

Yes how much spare time do you have Kjell :)

Joystick is interesting. I haven't even researched this before because I do not own a joystick myself. Some concerns are how do you read joystick on windows, do you need to link with DirectInput or something? And please also check the documentation for SDL so that everything you do on windows is also possible in SDL (for cross-platform support).

User avatar
Kjell
Posts: 1650
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell » Wed Jun 25, 2008 11:40 am

Hi guys,

I'll be running out of free time shortly :shock: But seriously, starting 4 features ( and finishing 3 ) doesn't mean it took a whole lot of time. FOV was only 4 lines of code, Resolution 10, Ratio around 20 .. not exactly your average Pong or Pacman ;) And I just hope by kicking off this section, others will follow.

K

User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski » Wed Jun 25, 2008 1:41 pm

wow, this will be excellent Kjell! I hope you can get this going with the time you have for it,. When I strike gold I fully intend to make cash money availible to ppl who do fine works like this,. creating,. and adding refignments to, open-source freewares is trully great inspired work that should be much more rewarded by society at large.,

Ville - go out and pick up a wired 360 controller! they are straight USB and plug and play,. (on windows anyhow!) plus they seem to have wide support and really do make many games more fun to play,. perhaps it is just that it feels less like "working" i.e at a keyboard,. but more so for me anyhow, I find the controles more intuitive no mouse jumping and you get forcefeedback, in many games. Well, as you guess, I am quite happy with mines!
iterationGAMES.com

Post Reply