On Sun, 13 Jun, indifference_engine wrote:

> SqueezeIR converts the lirc file into something the Controller can
> understand by performing 'bitwise AND' operations on the command
> values in the lirc file against successive powers of 2.  As the
> commands in the lirc file have 32 bits SqueezeIR must perform a
> bitwise AND of the command with 2^31.  The Controller can calculate
> 2^31 properly (the answer is 2147483648) but it gives the wrong
> answer when performing the AND.  Desktop SqueezePlay gives the right
> answer.

What about always ANDing with 1 and shifting the value right
successively?

-- 
Stefan Bellon
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to