Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#8306 closed patch

Grabbing the mouse cursor (incomplete)

Reported by: eriktorbjorn Owned by: Kirben
Priority: normal Component: Graphics
Version: Keywords:
Cc: Game: Full Throttle

Description

With the action scenes in Full Throttle starting to come alive, perhaps it would be useful if ScummVM could be made to restrict the mouse cursor within the game window, without having to force the user to switch to fullscreen mode.

The way I would use such a feature, as a player, would be that when an action sequence started I would use a hotkey to turn the grabbing on, and when the action sequence had finished I would release it. Of course, it could be made automatic, but if so I think it should be an option. I don't think we should force it onto the player.

The actual grabbing is trivial to achieve with the SDL backend. In fact, it used to be a standard feature in the games Loki Software ported to Linux. The patch implements the backend changes, but does not add a hotkey or config option for it.

Ticket imported from: #860831. Ticket imported from: patches/411.

Attachments (1)

grab.diff (1.0 KB ) - added by eriktorbjorn 20 years ago.
Patch against a December 15 CVS snapshot

Download all attachments as: .zip

Change History (3)

by eriktorbjorn, 20 years ago

Attachment: grab.diff added

Patch against a December 15 CVS snapshot

comment:1 by Kirben, 20 years ago

Owner: set to Kirben
Status: newclosed

comment:2 by digitall, 5 years ago

Component: Graphics
Game: Full Throttle
Note: See TracTickets for help on using tickets.