Re: [Plib-devel] Saitek X52 joystick with 34 buttons
Brought to you by:
sjbaker
From: John D. <sf...@av...> - 2007-01-02 06:43:52
|
On 01/02/2007 01:25 AM, I wrote: > void nread ( unsigned char *buttons, const size_t nb, > float *axes, const size_t na ) ; That is, of course, the pedestrian approach. If I were designing the code, I would seriously consider using stdlib vectors instead. There's not much you can do with a float* that you can't do as well (or better) with a vector<float>. The compatibility non-issues remain non-issues for the same reasons. Reference: http://www.cprogramming.com/tutorial/stl/vector.html |