Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for a PS2 mouse code in C

Status
Not open for further replies.

tom_hanks

Full Member level 5
Joined
Aug 28, 2003
Messages
243
Helped
14
Reputation
28
Reaction score
1
Trophy points
1,298
Activity points
1,578
Hi,
I am looking for a PS2 mouse code in C.

can you provide any link or code..

TIA,
Tom
 

mmohamed15

Advanced Member level 4
Joined
Mar 23, 2005
Messages
112
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,296
Activity points
2,116
mouse interface in c

i am not home now and i have written that code email me on 16/7 i will be and send it to you my email is
mmohamed15@yahoo.com
 

Anno

Advanced Member level 4
Joined
Feb 8, 2006
Messages
106
Helped
14
Reputation
28
Reaction score
0
Trophy points
1,296
Location
South Africa
Activity points
1,899
mouse interface c

On what platform you wanna program the mouse interface? Win is totaly different from Posix.
 

tom_hanks

Full Member level 5
Joined
Aug 28, 2003
Messages
243
Helped
14
Reputation
28
Reaction score
1
Trophy points
1,298
Activity points
1,578
program code for micro mouse in c

Hi Anno,
I am writing a code for microcontroller...in C
for embedded application..

and not using any OS...

basically i do not have much idea about sw...

i guess code will be independent then any OS...

Tom
 

yousafzai

Full Member level 5
Joined
Jun 1, 2006
Messages
244
Helped
15
Reputation
30
Reaction score
8
Trophy points
1,298
Activity points
2,295
Re: mouse C code

goto michrochip website and search the app notes archive. you will find something concerning the mouse.
 

Anno

Advanced Member level 4
Joined
Feb 8, 2006
Messages
106
Helped
14
Reputation
28
Reaction score
0
Trophy points
1,296
Location
South Africa
Activity points
1,899
mouse C code

So the mouse will be connected to a micro...mmm
well, I would say you lookup the specs on of hte mouse on the net. more specifically the cable wiring.
As I understand it...mouse will have power, buttons and directions. then implement the wiring directly or indirectly (if power output is to great) to the micro.
So your C code will look or poll for signals on the micro's pins.
If this helps...good luck
 

tom_hanks

Full Member level 5
Joined
Aug 28, 2003
Messages
243
Helped
14
Reputation
28
Reaction score
1
Trophy points
1,298
Activity points
1,578
Re: mouse C code

still can not find the solution...

can u suggest any reading....
 

mozes

Newbie level 6
Joined
May 1, 2007
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,333
Re: mouse C code

Pc bible is very helful for this purpose there are some progams in c ,pascal,and asm u can use any of them in your application
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top