THE MOUSE WORKS!!!!!!
Terrific news, managed to get the built-in mouse to work.
I was very VERY fortunate, the chap who sent me the code for the Keyboard happens to be a retired Boeing engineer and knows a thing or two about electronics and is big on recycling old laptop parts, so knows how to re-purpose old touch pads, mice and various retro pointing devices, so helped guide me through a series of tests in order to work out what each wire did.
It did mean procurring an oscilloscope for some of the tests, but fortunately one of my engineer friends had one, so after various trips to my friends house and videoing the results, we determined that (counting the wires from the RIGHT)...
Wire 1 - Ground
Wire 2 - 3v supply
Wire 3 & 4 - left and right signals
Wire 5 & 6 - up and down signals
Wire 7 - Right click
Wire 8 - Left click
It's worth noting that there appear to be 4 buttons on the mouse. The inner buttons are moulded to the central bar, so pushing these or the centre section down works the left click. The outer buttons are seperate, but connected electronically, and work the right click.
The bar in the middle scrolls forward and back to make the cursor go up and down and slides left and right to move the cursor left and right. There's also a couple of switches either side of the slide bar, so if you don't have enough lattitude to move the cursor all the way to the side, the slide bar will press against the switch, which will keep the cursor moving (hope I've explained that OK?).
Apparently the mouse uses rotary encoders (like they use on electronic speedometers on cars), so after analysing the oscilloscope signals. he was able to provide me with a code that got it to work.
I had to use a seperate Teensy as there weren't enough spare connections on the one I used for the keyboard.
The code also allows you to alter the speed of the cursor, by shorting out either Pin 0 or Pin 1 to ground on the Teensy, so I attached a short male lead to the ground and a couple of short female jumper cables to 0 & 1 on the Teensy. Which after some playing about, decided to leave it shorted to 0, as that allowed me to move the cursor almost the entire width of the screen with one movement.
Whereas the cursor tried to go off screen when shorted to Pin 1 and didnt move far enough when left unshorted to either.
Again, I really, really MUST thank Frank Adams for the code and helping me with this as I doubt I would have been able to do this without him.
Here are his pages on the instructables website...
https://www.instructables.com/member/Frank_Adams/Anyway, here's some more pics.
All that remains now s to put everything back togethor again, which is not as easy as it sounds...