title: How to get mouseMovement when cursor is locked?
body: <p>While looking for way to lock the cursor in processing/p5.js/javascript I realized that even once I figured that out I would not be able to detect mouse movement. How do people do it in typical fps games?</p>