Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BJoyStick() Help Reply

0 views
Skip to first unread message

Earl Colby Pottinger

unread,
Sep 26, 2005, 10:48:58 AM9/26/05
to
Thanks to all who answered.

Looking at the code that does work out there I notice to common things.

All the programs that work open the final BJoyStick() for one time only after
the user selected gameport. The BJoystick() is left open and never closed
until the program exits.

Additionally the test programs GameStick and StickIt use a Window()::Pulse()
to time when sampling is done.

Because of this I am going to break up my Scope program into multiple version
that are both Pulse() and non-Pulse() driven.

Calibration never seemed to work for the code I wrote, but reading the code
for StickIt it must be working otherwise that program's cursor would not move.

I will report the results of the diffirent versions as soon as I get the code
done.

Earl Colby Pottinger

--
I make public email sent to me! Hydrogen Peroxide Rockets, OpenBeos,
SerialTransfer 3.0, RAMDISK, BoatBuilding, DIY TabletPC. What happened to
the time? http://webhome.idirect.com/~earlcp

Alexander G. M. Smith

unread,
Sep 29, 2005, 9:25:25 PM9/29/05
to
Earl Colby Pottinger wrote:
> I will report the results of the diffirent versions as soon as I get the
> code done.

Hope you figure it out - and add a note to the Annotated BeBook if the
documentation is misleading. http://www.beunited.org/bebook/index.html

- Alex

Earl Colby Pottinger

unread,
Oct 4, 2005, 5:49:12 PM10/4/05
to
Alexander G. M. Smith <agms...@rogers.com> :

I plan to. Addition I just picked up an USB joystick adapter, the purpose is
to test the BJoyStick() function on a Gameport() object. I am slow so it
will take some time but I hope to write code to test every single combination.

Alexander G. M. Smith

unread,
Oct 18, 2005, 11:05:23 PM10/18/05
to
Earl Colby Pottinger wrote:
> I plan to. Addition I just picked up an USB joystick adapter, the purpose
> is to test the BJoyStick() function on a Gameport() object. I am slow so
> it will take some time but I hope to write code to test every single
> combination.

By the way, I was able to get my Logitech USB gamepad (just digital buttons,
but lots of them) to work under BeOS R5 with the help of
http://www.bebits.com/app/1688

- Alex

0 new messages