16-bit value in 3 bytes?



Hi,

I recently got myself a 'Spaceball 5000' and since there is no driver
for my platform, I am trying to reverse engineer the protocol. The
place where I am stuck is that a given value for a rotation is
represented as a 16-bit signed integer, using four bytes. From what I
can tell the first byte represents the sign and the remaining 3 bytes
are used to encode the value using the characters ".023569:<?
ABCDEGHKLMNPSenors", so no more than 7 bits are used in each 8 bit
value. Additionally the first of the four bytes either has a value H
or G, which I believe might represent the sign.

Can anyone help me working out how the 16-bit value is being encoded?
Is there a better place to ask this question?

Andre
.



Relevant Pages

  • Re: 16-bit value in 3 bytes?
    ... I recently got myself a 'Spaceball 5000' and since there is no driver ... for my platform, I am trying to reverse engineer the protocol. ... are used to encode the value using the characters ".023569:<? ...
    (comp.programming)
  • RE: multichannel encoding with SB Audigy2
    ... On which platform is the encode happening? ... WinXP? ... On which platform is the playback happening? ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Encoding iso-8859-16
    ... With reference to my previous mail on encoding module ... Why is it when I copied the above .c files from ASCII platform to ... > I attempted to see if there is any bug in the encode module. ... > I just replaced those files from linux onto EBCDIC which gave the ...
    (perl.beginners)
  • Re: C# server encode -> C++ client side decode
    ... sending via HTTP to a client side application, ... > I'm not sure if I can encode something using: ... to look at is the protocol that both use. ...
    (microsoft.public.vc.mfc)