Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. outputing keyboard/mouse presses

outputing keyboard/mouse presses

Scheduled Pinned Locked Moved C#
csharpquestionlounge
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Ylis
    wrote on last edited by
    #1

    I'm very new to programming in general but if I get a push in the right direction I think I will manage. I'm trying to build a windows application that will output a sequence of keyboard/mouse presses. What I need to know is where in C# do I find the functions that outputs the pressing?

    P 1 Reply Last reply
    0
    • Y Ylis

      I'm very new to programming in general but if I get a push in the right direction I think I will manage. I'm trying to build a windows application that will output a sequence of keyboard/mouse presses. What I need to know is where in C# do I find the functions that outputs the pressing?

      P Offline
      P Offline
      Paul Riley
      wrote on last edited by
      #2

      Not the only option but probably the easiest. Consider DirectInput, part of the DirectX 9 SDK[^]. Of course, the downside is that anyone who wants to use your software needs the DirectX 9 runtime, which is a 32Mb download. But if that isn't a problem, DX9 will do the job. Paul Pleasently caving in, I come undone - Queens of the Stone Age, No One Knows

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups