electro-music.org   Dedicated to experimental electro-acoustic
and electronic music
 
 Front Page  |  Radio  |  Forum  |  Media  |  Playlists  |  Wiki
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
Joystick (HID) Control in ChucK
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
telstarmagikistferrari



Joined: Jun 16, 2008
Posts: 280
Location: Indianapolis, Indiana
Audio files: 43

PostPosted: Sat Mar 07, 2009 9:09 pm    Post subject: Joystick (HID) Control in ChucK
Subject description: how to implement?
Reply with quote  Mark this post and the followings unread

Posted Image

I acquired one of these complete with USB adapter today at the thrift store. $2.42, not bad! The problem is, I have no idea how to gather its' numbers for controlling stuff in ChucK and/or MaxMsp. Has anyone else experimented with any Microsoft 'sidewinder' products or could point me toward a pertinent web page or pdf?

Thanks,
Mark
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
telstarmagikistferrari



Joined: Jun 16, 2008
Posts: 280
Location: Indianapolis, Indiana
Audio files: 43

PostPosted: Sat Mar 07, 2009 10:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I found externals for MaxMsp but am still clueless about how to get at a device like this in ChucK. I apologize for the above picture posted of the joystick and don't expect many replies Smile.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Mar 08, 2009 2:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Not many replies? well, I suppose one would do the trick;

have a look at /examples/hid/joy.ck

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
telstarmagikistferrari



Joined: Jun 16, 2008
Posts: 280
Location: Indianapolis, Indiana
Audio files: 43

PostPosted: Sun Mar 08, 2009 2:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Embarassed

Shocked

Those hid examples worked right out of the box, and they are FUN. I didn't realize the examples directory already had what I was looking for. Awesome.. this joystick even has a little disc for scratching (DJ) -type motions and possibilities. I think I'll be working on some code this afternoon.. Smile
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Mar 08, 2009 6:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, the examples dir is one of the best things to learning ChucK, nearly everything is there.

Good to hear you're having fun!

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 270

PostPosted: Sun Mar 08, 2009 10:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is a ChucK Washing Machine called the Dishwasher that I wrote recently. It should work with a 5-axis joystick that has two buttons, or you can modify the joystick section to work with your device. It takes your voice, gives it a cool sci-fi effect using a pitch shifter in feedback, and loops the voicie. Enjoy!


Dishwasher2.ck
 Description:
A ChucK Washing Machine

Download (listen)
 Filename:  Dishwasher2.ck
 Filesize:  2.86 KB
 Downloaded:  298 Time(s)


_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Log in
Username:     Password:      Log me on automatically each visit    


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2026 by electro-music.org