Re: Fwd: Input and games.

2013-04-29 Thread Todd Showalter
On Mon, Apr 29, 2013 at 9:57 AM, Bengt Richter wrote: > On 04/27/2013 03:05 AM Todd Showalter wrote: >> stick.x = ((float)raw_x) / (raw_x>= 0) ? 127.0f : 128.0f; >> stick.y = ((float)raw_y) / (raw_y>= 0) ? 127.0f : 128.0f; >> > I'm not an electronics or game equipment insider, but I wonder > why

Re: Fwd: Input and games.

2013-04-29 Thread Bengt Richter
On 04/27/2013 03:05 AM Todd Showalter wrote: I failed to reply-all before, so I'm forwarding this back to the list. On Fri, Apr 26, 2013 at 5:46 PM, Jason Ekstrand wrote: My first general comment is about floating point. I'm not 100% sure what all went into the design decision to make wl_fix

Fwd: Input and games.

2013-04-26 Thread Todd Showalter
I failed to reply-all before, so I'm forwarding this back to the list. On Fri, Apr 26, 2013 at 5:46 PM, Jason Ekstrand wrote: > My first general comment is about floating point. I'm not 100% sure what > all went into the design decision to make wl_fixed have 8 bits of fractional > precision vs.