After reading about some hacks around i opened up an old optical mouse... it has a PAN101BSI204 Optical Sensor... Unfortunately there is no datasheet available for this on the internet as it is some cheap chinese product. Now, how do i figure out which pin is for what? it has 20 pins and here is some information i found online. I cant make much of it.http://www.4shared.com/file/73503317/ad96b517/PAN101.html
http://www.datasheet4u.com/download.php?id=499140 is from your link under "datasheet view"
Thanks a Ton Mate! I know a that was bad overlooking by me.