Sign in to follow this  
  • entries
    375
  • comments
    1136
  • views
    297489

Yarr

Sign in to follow this  
superpig

85 views

HID enumeration is in and working happily, though oddly enough it enumerates my keyboard twice (it appears to be in two places in the device tree for some reason). Next up I think I'll be trying to hook a particular device (probably the mouse) and use it to control the triangle spin speed or something...

I've got an idea about controller UI: you go to the configure controls screen, and can hit a 'choose device' button. The app will then listen to all HID devices for input, so you just hit a button on your crazy-ass Joystick #7 to select it as the input device. No selecting things from lists or anything. Should be user-friendly enough, I think.
Sign in to follow this  


4 Comments


Recommended Comments

Maybe add some kind of control with Salling Clicker; I enjoy using my T610 as a game controller, and I'm sure N-Gage owners would enjoy the chance to use it to play a game as well.

Share this comment


Link to comment
A quick look at the Salling Software site suggests that it employs Applescript... hnnnrgh. Maybe. If it requires making my games scriptable to the extent that scripts can call 'fire' and so on... there's notes about using applescript to simulate keypresses/mouseclicks too, but I have a feeling that'll bypass the HID layer. We'll see, I guess.

Share this comment


Link to comment
The "simplest" (not necessarily easiest) way to do it would probably be to expose your game's movement code via AppleScript..

An AppleScriptable game would be pretty cool.. I could write a bot in it. [wink]

Share this comment


Link to comment
The problem is that at some level I have to cut off any Mac-specific stuff because it's a platform independent project. Any applescripting would have to be really low level... I'm also not sure what the overhead is like.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now