Code Monkey home page Code Monkey logo

Comments (3)

Ryochan7 avatar Ryochan7 commented on July 26, 2024

There are some use cases that I want to test but I have to download the games before I get around to it; Elder Scrolls 4: Oblivion and COD: MW2 are two games that I remember needing special consideration when using emulated KB+M controls. However, I found a weird problem already with one game that I currently have installed.

It seems that Painkiller: Black Edition actually understands virtual keys during the intro videos and in the main menu. Once you are in game, keys are not interpreted unless an appropriate scan code is sent. When escape is pressed on a physical keyboard to go back to the main menu, you can exit the menu and return to the game using VK_ESCAPE. Using scan codes works in Painkiller: Black Edition in every scenario.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

COD: MW2 is a bigger case of problems as it can interpret some virtual key codes in game for some actions but not others; for example, VK_SPACE (jump) works but code 0x43 (crouch) does not. It does seem like the proper behavior is to send keyboard events with a virtual key and corresponding scan code. When this behavior changes, there will be no need for the scan code setting for control settings anymore.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

The next release will use a virtual key and scan code for keyboard events by default. The scan code option has not been removed from the program yet so the option is still available to only send out a scan code. That option will be removed in the future.

from ds4windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.