[TUTORIAL] PS2 Mouse Tutorial

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
houbysoft
Posts: 3
Joined: Sat Oct 25, 2008 7:08 pm

[TUTORIAL] PS2 Mouse Tutorial

Post by houbysoft »

Hi all.
I just wanted to annouce that I wrote a PS2 Mouse Tutorial, inspired by SANiK's mouse code and some stuff I did myself. I wrote it because the information about ps/2 mouse in the wiki is a little confusing, so I hope I clarify the stuff with it. Anyone is welcome to use it, here it is :

http://houbysoft.xf.cz/download/ps2mouse.html.

I hope you like it, and if there is anyone who can modify the wiki here I would be really pleased if you would like to add it to the ps2 mouse wiki page.

Hope this will be useful and all have a nice day!

---
http://funghos.googlecode.com
Last edited by houbysoft on Sun Oct 26, 2008 7:22 am, edited 1 time in total.
User avatar
Walling
Member
Member
Posts: 158
Joined: Mon Dec 04, 2006 6:06 am
Location: Berlin, Germany

Re: PS2 Mouse Tutorial

Post by Walling »

You should IMHO show the code with indentation and a fixed width font, not italic. It's just a suggestion. It would be much easier to read.
houbysoft
Posts: 3
Joined: Sat Oct 25, 2008 7:08 pm

Re: PS2 Mouse Tutorial

Post by houbysoft »

Walling wrote:You should IMHO show the code with indentation and a fixed width font, not italic. It's just a suggestion. It would be much easier to read.
OK, changed the italic to a different color, I will also put the indentation, but don't expect it today because I'm now under heavy rain an my internet connection is really not stable. Thanks for the suggestion.

EDIT: Removed the larger parts of code and posted a link to them on pastebin.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by bewing »

If it hasn't been done yet, I would be happy to add your tutorial to the mouse wiki article in a couple of days. (ATM, I am deep in a coding project, but will be at a stopping point in a few days.)

I always go back and rewrite my wiki articles after I have had extra time to think about them -- but I never got back around to rewriting my PS2 mouse wiki article. I wrote it pretty fast -- so it is choppy, and not worded as well as it could be. But please let me know which parts you found unclear. I have definitely been planning on rewriting it at some point, and this will give me an opportunity.
User avatar
Walling
Member
Member
Posts: 158
Joined: Mon Dec 04, 2006 6:06 am
Location: Berlin, Germany

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by Walling »

I added a link on the wiki.
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by kmtdk »

well
to be sure,
i will try to write a ps2 mouse tutorial, and to that time we can see if it can be used ( it is ment for the wiki )

KMT dk
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by kmtdk »

Im not finish ( but i only need the part about the extended buttons ... and scroll whell)
here is the proto type ( any sugestions is welcome)
i will port it to PDF, in no time, but for now, it is only in doc format.

edit: the pdf is include in the "mouse tutorial2.zip" *

KMT dk
Attachments
mouse tutorial2.rar
The pdf
(57.97 KiB) Downloaded 108 times
mouse tutorial.rar
The doc
(13.15 KiB) Downloaded 85 times
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by kmtdk »

i would be happpy if any would like to answer me .....


Kmt dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: [TUTORIAL] PS2 Mouse Tutorial

Post by bewing »

I'l look at it as soon as I've got the bochs gui frontend ported to linux.
:wink:
Post Reply