• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Taking in keyboard and mouse input. Giving the computer controller output.

 
Greenhorn
Posts: 9
C++ Chrome Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So I have a singleplayer game on XBOX GamePass for PC that only supports a controller. I am really bad at a controller, and would like to use a keyboard instead. I see no harm as it is a singleplayer game. I can make the code for key binding keyboard keys to controller buttons, but I don't know how to receive keyboard and mouse input, and I don't know how to tell the computer that a controller in plugged in, and that it is receiving controller input. I also don't know how to make the app receive input while it is not the selected application, as I will be playing on the browser, not playing on this app. Any help is appreciated, thanks!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic