How are games such as Fortnite and Call of Duty: Modern Warfare able to detect mouse and keyboard usage on console?

631 views

How are games such as Fortnite and Call of Duty: Modern Warfare able to detect mouse and keyboard usage on console?

In: Technology

3 Answers

Anonymous 0 Comments

The game looks for inputs that can’t be generated with a controller. For example, an analog stick can’t be moved from its dead left position to its dead right position without moving through the center, but a mouse can easily change direction from moving left to moving right within a single frame of the game. Also, some buttons on a controller can’t be pushed at the same time – for example opposing directional keys on the d-pad.

Also, the game can distinguish a trigger press from a button press, since the trigger actually measures how much it is pressed rather than just going on and off.

You are viewing 1 out of 3 answers, click here to view all answers.