by date
Mac Development (TGE)
Mac Development (TGE)
| Name: | David Murphy | |
|---|---|---|
| Date Posted: | Oct 16, 2006 | |
| Rating: | 2.3 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for David Murphy |
Blog post
hi folks,
One of my students is developing a Torque game on the Mac. We soon found out that joystick support for the Mac seems non-existent.
While looking at the problem in greater detail, I came across this in macCarbInput (line 93):
ConsoleFunction( isJoystickDetected, bool, 1, 1, "Always false on the MAC." )
{
/*
argc; argv;
return( DInputDevice::joystickDetected() );
*/
return(false);
}
Have GarageGame actually written joystick support for the Mac literally out!
This is relatively straight forward to fix, so I'm curious as to why it hasn't been done yet?
Also, what is the roadmap for moving the Mac version of TGE away from Carbon and onto Cocoa??
rgds Dave
One of my students is developing a Torque game on the Mac. We soon found out that joystick support for the Mac seems non-existent.
While looking at the problem in greater detail, I came across this in macCarbInput (line 93):
ConsoleFunction( isJoystickDetected, bool, 1, 1, "Always false on the MAC." )
{
/*
argc; argv;
return( DInputDevice::joystickDetected() );
*/
return(false);
}
Have GarageGame actually written joystick support for the Mac literally out!
This is relatively straight forward to fix, so I'm curious as to why it hasn't been done yet?
Also, what is the roadmap for moving the Mac version of TGE away from Carbon and onto Cocoa??
rgds Dave
Submit your own resources!| Stefan Lundmark (Oct 16, 2006 at 18:23 GMT) Resource Rating: 1 |
| Ajari Wilson (Oct 16, 2006 at 19:39 GMT) |
Edited on Oct 16, 2006 21:01 GMT
| James Urquhart (Oct 16, 2006 at 19:48 GMT) Resource Rating: 3 |
Implementing joystick support on the mac should be relatively simple. I seem to recall seeing quite a few articles on ADC mentioning implementing joystick / gamepad support into games, so you should probably start there.
Sadly, i've not seen many mac games support joysticks/gamepad's :(
| Kenneth Holst (Oct 16, 2006 at 19:51 GMT) |
| Ajari Wilson (Oct 17, 2006 at 04:51 GMT) |
| David Murphy (Oct 17, 2006 at 14:11 GMT) Resource Rating: 5 |
BTW, the real underlying problem with the Mac 'port' is that it is inherently Carbon based. GG should consider, or inviting others, to assist with a Cocoa version.
Any thoughts??
rgds Dave
| Tim Newell (Oct 17, 2006 at 17:26 GMT) |
| David Murphy (Oct 19, 2006 at 12:39 GMT) Resource Rating: 5 |
this shouldn't be a problem - many developers integrate C/C++ in Object-C and/or Objective-C++. However, before I proceed with this thread I am checking out the latest version in CVS so that I know what changes are being made.
rgds Dave
| Tim Newell (Oct 20, 2006 at 01:19 GMT) |
| David Murphy (Nov 03, 2006 at 12:36 GMT) Resource Rating: 5 |
I have downloaded 1.5 and am currently testing it. Apart from a number of comments being cleaned up and some changes, there has been no progress with the Joystick input.
Is there a diff file somehwere showing the differences between 1.4.2 and 1.5?
rgds Dave
You must be a member and be logged in to either append comments or rate this resource.


2.3 out of 5


