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 <heue...@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
>
> https://github.com/heuermh/lick/blob/master/lick/device/Nes.ck
> https://github.com/heuermh/lick/blob/master/lick/device/Joystick.ck
>
> https://github.com/heuermh/lick/blob/master/lick/device/LogitechGamepadF310.ck
>
> and examples
>
> https://github.com/heuermh/lick/blob/master/examples/nesExample.ck
> https://github.com/heuermh/lick/blob/master/examples/joystickDemo.ck
> https://github.com/heuermh/lick/blob/master/examples/gamepadTr808.ck
>
> in LiCK, a Library for Chuck.  Hope these help!
>
> Cheers,
>
>    michael
>
>
> On Jul 3, 2020, at 6:16 PM, Curtis Ullerich <curtuller...@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
> <https://github.com/rdpoor/chuck_performance_setup/blob/master/lib/game_trak.ck>
> .
>
> 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
>
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to