переведи на англ и улучши мой комментарий для кода -- ВОЗМОЖНО getPcMouseMovement будет…
- User
переведи на англ и улучши мой комментарий для кода -- ВОЗМОЖНО getPcMouseMovement будет лучше, т.к. возвращает значения уже сразу берущие центр экрана за 0, но по прежнему в пикселях разрешения окна.
- Assistant
It is possible that renaming the function to getPcMouseMovement would be better, as it returns values already centered at 0, but still in pixels of the window resolution.
(Note: Your comment is clear and informative, but you could improve it by providing a brief explanation of why centering the values at 0 is beneficial for the function.)
- User
не переименование, а использование другой
- Assistant
Using getPcMouseMovement may be a better option as it returns values centered around 0, but still in pixels of the window resolution.
(Note: Your comment is informative and clear, but you could add a brief explanation of why centering the values at 0 is advantageous for the function.)
- User
переведи и это "НО я не стал, потому что не работает когда активен курсор"
- Assistant
"But I chose not to do so because it does not work when the cursor is active."