Here's what I ended up writing: https://github.com/curtisullerich/computer-music/tree/master/chuck/gametrak

The velocity and acceleration tracking is very rough, but the underlying GameTrak abstraction is working well. Input welcome. :)

On Sat, Jul 4, 2020 at 11:47 PM Curtis Ullerich <curtullerich@gmail.com> wrote:
Thanks for the links! I implemented a GameTrak class that extends Event and allows a simple wrapper Event to calculate velocity. I'll get it on GitHub and share it with the list once I've exercised it a bit.

On Fri, Jul 3, 2020 at 7:10 PM Michael Heuer <heuermh@gmail.com> wrote:
Hello Curtis,

I am not familiar with the GameTrak joystick specifically, but you may find USB NES, HID Joystick and Logitech F310 classes


and examples


in LiCK, a Library for Chuck.  Hope these help!

Cheers,

   michael


On Jul 3, 2020, at 6:16 PM, Curtis Ullerich <curtullerich@gmail.com> wrote:

Hi all,

I'm experimenting with velocity patterns of GameTrak joysticks as event triggers. I'm curious if there's any prior art here.

I'm working on a GameTrak class in ChucK that tracks the hand movement in space to add velocity and acceleration updates alongside the usual xyz position. 

In general, I've been surprised to not find much in the way of a GameTrak class/lib for ChucK, though I did find this one.

Curtis
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users