I am re-purposing the metal case of old industrial laptop, it would be nice to keep current touchpad, because it's glued to the case AND because I'm having fun trying to convert it to my purpose.
Here is a photo of the chip, there are no datasheets online or anywhere so I have no idea on how to talk to it:
The chips receives 5 V, GND and the 2 data wires from both the touch sensor and the 2 rx and lx buttons, then outputs other 2 signal lines

Don't mind the disconnected GND on the logic analyzer, I have connected it before reading the signals

As you can see from the black wires in the 2nd pic, there's a total of 4 pins connecting the device to the mainboard, two are 5 V and GND, the other two outputs some kind of signal, which you can see in the screenshots below:
In these images, I am moving my finger on the touchpad from right to left at a slightly increasing speed, I did not screenshot the whole signal

More detailed image of a couple of signals

My first step to find a way to talk to this device is figuring out which protocol it uses, I have already excluded the mainstream options:
- SPI, cannot be because it has only 4 pins and no apparent CLK anyway
- I2C, it has no apparent CLK
- PS2, it has no apparent CLK
- UART, it has 2 communication lines that output different signals
The actual function of the D1 signal puzzles me, while the data on D0 changes accordingly to what I do to send the proper signal to the main board, D1 always displays the same exact pattern:
- From pulse 0 to 1, their length is 37 μs, while pulse 2 is 30 μs, the same pattern applies for a-b-c and d-e-f pulses
- Pulse 3 always varies between 98 μs, 117.5 μs and 121 μs
- Pulse 4 always varies between 120.5 μs, 119.5 μs and 122 μs
- When pulse 3 is 98 μs, pulse 4 is always 120.5 μs, when pulse 3 is 117.5 μs pulse 4 is always 119.5 μs etc.
I think the last 3 points are due to some tolerance of accepted values, probably pulses 3 and 4 should have a fixed length but my sampling rate alters them even if it's objectively higher than any possible signal frequency.
My idea is that D1 is some kind of counter coming from either the touchpad chip or the mainboard, how can I verify the source of the signal?
Would a diode placed in series to the line let the signal pass only if oriented properly? This could allow me to figure out it's direction.
As a last resort, if this communication protocol is something unique to this chip then I'll just do a ton of tests and find patterns that'll allow me to translate what the touchpad is saying, knowing the baud rate will then be essential but it's impossible to find it without knowing if the smallest pulse I read is actually the smallest possible.
