Re: Capturing USB data?
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 20:54:14 -0400
See below...
On Sat, 30 Aug 2008 13:41:55 -0500, "Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote:
****
"David Webber" <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:O%23RWI3sCJHA.3668@xxxxxxxxxxxxxxxxxxxxxxx
"Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:08duk.25564$9u1.1527@xxxxxxxxxxxxxxx
What I really need to do is to capture every keystroke
and mouse click and also be able to feed these to the
system. I already know how to do this for MS Windows.
I need to generalize this capability across all other
platforms, especially Mac OS X, and Linux. My current
thinking is adapting a keyboard and mouse driver on these
platforms. I would probably start with Intel/Windows
because this is the platform that I am the most familiar
with.
I was thinking that restricting my research to the USB
interface might simplify things since all three platforms
provide this interface.
But, as Joe points out, not every input device connected
to a USB port is a mouse or a (QWERTY) keyboard. My MIDI
(piano) keyboard is just one other example. Given that
USB drivers cleverly sort it all out for you, and the
system gets the right signals whether they be MIDI, mouse,
or QWERTY, doing it yourself would seem to be reinventing
a rather complex wheel.
It sounds like you need a cross-platform development
library. I have never used one, but lots of people
happily use my Windows software on Linux under WINE.
Except that Linux does not seem to support mouse hooks at
all.
It's open source. You can do anything you want.
(And if you think that is the correct answer, I would like to point out that I have this
deal about my great-uncle, who was in Nigeria and left $30,000,000 US in a bank, and I
need help in getting it out...)
The open source people wave this aphorism about, but neglect the fact that getting into
the system is a massive effort, and then you've got the problem that you now have to
generate and distribute dozens of brands of linux drivers for dozens of brands of mice
and/or keyboards. But it's all open-source, so you can do anything. All you need is
infinite time and/or infinite money to achieve it.
From a product-dellivery viewpoint, get the product out the door and generating revenue ona Windows platform. Screw everything else. When you have an influx of real dollars, you
can allocate some of that to creating solutions on minority platforms. I have worked with
several companies who tried to solve every possible problem before releasing the product,
and ended up running out of money before the product could be delivered. One was a
cross-product solution; they wouldn't release until they had the Mac port, and the Mac
port just sat there for a year absorbing people and dollars until the company folded (had
they delivered their X-windows/Microsoft Windows code, they would have had real income...I
did the Windows port for them)
joe
****
Joseph M. Newcomer [MVP]
Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Capturing USB data?
- From: Peter Olcott
- Re: Capturing USB data?
- References:
- Capturing USB data?
- From: Peter Olcott
- Re: Capturing USB data?
- From: David Webber
- Re: Capturing USB data?
- From: Peter Olcott
- Capturing USB data?
- Prev by Date: Re: Capturing USB data?
- Next by Date: Re: Capturing USB data?
- Previous by thread: Re: Capturing USB data?
- Next by thread: Re: Capturing USB data?
- Index(es):
Relevant Pages
|
Loading