Skip to content

Process Win32 input events through Natlink when possible #372

@drmfinlay

Description

@drmfinlay

Re: #11.

It occurs to me that most Dragonfly Key, Text and Mouse actions could be processed using the special natlink playEvents() function. Because DNS itself would "play" the events, this would allow indirect interaction with applications running in elevated mode.

This feature could either be optional or always used if the natlink module is available and DNS is running.

Assuming the documentation for playEvents() is complete, the following events can not be processed:

  • Scroll wheel events
  • Mouse 4 and 5 buttons events
  • Unicode keystroke events

Dragonfly can will have to fallback on its own SendInput implementation for these. I do have hope, however, that the function may be used to type these events anyway; the accepted tuples are simply window message pairs (wParam and lParam) defined by Windows.

As is the case with DNS itself, this won't allow interaction with the UAC box.

Metadata

Metadata

Assignees

Labels

Dragon NaturallySpeakingIssue related to Dragon NaturallySpeaking engineEnhancementEnhancement existing featureNatLinkIssues related to NatLinkWindowsIssues regarding Microsoft Windows OS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions