Bug #1174

Mac - Alpha Build - Mouse Behavior

Added by velogfx almost 8 years ago. Updated over 7 years ago.

Status:Closed Start date:11/08/2010
Priority:Normal Due date:
Assignee:rti % Done:

100%

Category:OS: Mac
Target version:Version 0.8.0

Description

When pressing left mouse button and rotating the camera, i can't rotate the camera within 360°. when the invisible cursor hits the border of my screen, rotation stops.
same thing with character movement.

History

#1 Updated by kervala almost 8 years ago

Under Windows and Linux, we handled that in CDriverGL::setCapture (bool b). Mouse can't exit from window when captured :)

#2 Updated by rti almost 8 years ago

  • Status changed from New to Validated

This is only happening in windowed mode if the window does not fill the whole screen.
If the mouse leaves the window, cocoa reports mouse positions outside [0,1],
I am simply dropping them which I should not do :)

#3 Updated by rti almost 8 years ago

caused by the same code part:
if you start dragging the mouse inside the window, drag outside the window, release the mouse button, nel does not receive the release event.

#4 Updated by rti almost 8 years ago

  • Status changed from Validated to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1136.

#5 Updated by velogfx almost 8 years ago

on mac, build r1137: if you start dragging game window, in-game camera is rotating

#6 Updated by velogfx almost 8 years ago

on mac, build r1137: if you left click to rotate camera, drag your invisible mouse outside the client window and then press right klick to run, you perform rightclick outside the client window.

#7 Updated by rti almost 8 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 70

#8 Updated by rti over 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 70 to 100

Applied in changeset r1227.

#9 Updated by rti over 7 years ago

  • Target version set to Version 0.8.0

#10 Updated by rti over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF