gixxy's is probably superior, but
here is a link to a mapping file we use for XBox gamepads (We just use the Joystick class and these mapping values).
Quote:
|
Does anyone know a simple lib for formatting floating-point numbers since printf is not available?
|
If you just want to fix to a specific number of decimal points x, you could make a simple helper class/method that multiplies it by 10^x and casts to an integer, then divides it back down to a float... but you probably already thought of that
