Continue to Site

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.

How to change stdin from keyboard to mouse?

Status
Not open for further replies.

rednewguy

Full Member level 2
Joined
Jun 3, 2005
Messages
123
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
2,413
change stdin

i have to change the stdin from keyboard to mouse. how to do it.

thanks
 

to change-stdin

mmm...I never actually thought about this...
I would suggest you look into the mouse's filedescriptor. and try to access it ex. /dev/mouse
otherwise, you can create a "pipe" from mouse filedescriptor to stdin. but as far as I know, the stdin is buffered and mouse is streaming, so you got to take that into consideration.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top