Re: Capturing USB data?




"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in
message news:bgqjb49elp37hdhgnhocredp7q9rl316tp@xxxxxxxxxx
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 on
a 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

Yes that is my plan as soon as the cross-platform
feasibility study is completed. This is the last remaining
issue. I finally solved the problem of precisely (and very
quickly) recognizing any and all machine generated character
glyphs. The good news is that it is fully covered by my
original patent.

****


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

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm


.



Relevant Pages

  • Re: writing platform-portable code in vc++
    ... only logic code tends to port well. ... But know that C# only runs on the Windows platform. ... >> multi-threading programming for multiple platforms. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Web Application Testers.
    ... > automatically alerts you to the latest security vulnerabilities please see: ... Platforms: ... A Windows/MS-DOS CGI scanner which scans for 65 remote ... Windows 2000 and Windows NT ...
    (Vuln-Dev)
  • Re: Web Application Testers.
    ... > automatically alerts you to the latest security vulnerabilities please see: ... Platforms: ... A Windows/MS-DOS CGI scanner which scans for 65 remote ... Windows 2000 and Windows NT ...
    (Pen-Test)
  • Re: truncating text fields
    ... I'll take a look at the font issue again, but as I said before, I don't have any problems rendering 6 pt Times New Roman in other software, so I don't think it is a system configuration or font problem. ... Though I think to a large extent the reason why Java has failed as a UI vehicle is because users of different platforms are not as concerned with seeing the exact pixel-for-pixel representation of the same UI on different platforms, as they are with having the UI work as expected on their chosen platform. ... That being said, if it comes between having a less than optimal FM on Windows vs. no version at all, I would obviously take the former. ... I can understand why a hard-core developer might feel a little constrained by FileMaker Pro. ...
    (comp.databases.filemaker)
  • Re: Capturing USB data?
    ... I already know how to do this for MS Windows. ... platforms, especially Mac OS X, and Linux. ... to a USB port is a mouse or a keyboard. ... they wouldn't release until they had the Mac port, ...
    (microsoft.public.vc.mfc)

Loading