Author Topic: No event log  (Read 1370 times)

Bert

  • Newbie
  • *
  • Posts: 8
    • View Profile
No event log
« on: March 30, 2010, 07:22:33 am »
Hello,

I have 2 different HID devices.
One is working fine with the hiddemo example, the event log shows the buttons that I press.
With the other device I never see anything in the event log, although the device is recognized fine.
The same is true for the mouse, the device is recognized but I never see the mouse button presses in the event log.

Hiddemo is dated 3-6-2009, maybe it needs an update?

Regards,
Bert


Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: No event log
« Reply #1 on: March 30, 2010, 03:29:46 pm »
Hello

Unfortunately, windows always handles keyboard and mouse classes of HID devices. Mouses and keyboards are not available over HID API. You need to handle ordinary WM_KEYDOWN and etc system messages.


Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.