Comments (3)
This does do the exact same thing for me.
from osu-framework.
Since SDL is used for input handling on iOS, and SDL_TouchFingerEvent doesn't seem to have a notion of canceling an event. This should be reported first to upstream, preferably with verbose SDL_HINT_EVENT_LOGGING
enabled.
I know that Android has a similar notion of canceling motion events. And the same thing could apply to desktop: the window loosing focus when a mouse button is held (via alt-tab or another app coming to the foreground).
Not sure what's the best way to implement in o!f. On a high level, if a touch up input is cancelled, it shouldn't fire a ClickEvent
. The touch/mouse up event should still fire so it doesn't get stuck in a down state.
from osu-framework.
A good start would be to implement a "Cancelled" state to button input events, which "MouseButtonEventManager" uses as an indicator to not fire a click event while still firing a mouse up event.
That would also replace an existing flag in that class that works similarly (used in hold-for-right-click logic).
from osu-framework.
Related Issues (20)
- Throw against having the same dependency resolved in BDL and as a property HOT 2
- TriggerPressed/Released doesn't follow propogation expectations.
- `ConfigManager.SetDefault` should not fail when the stored bindable is of a different type HOT 7
- Window forgets unmaximized size when leaving borderless mode (while maximized)
- IncrementalBSplineBuilder fails to add control points at start of input path
- Circle doesnt obey Masking of CircularContainer HOT 1
- System.ArgumentException: Destination array is not long enough to copy all the items in the collection. Check array index a... HOT 4
- DirectorySelector fails to enumerate `~/Library/Application Support` directories
- iOS window losing focus (popup or suspend) doesn't update game active state
- Only allow one drag event at a time
- `SpriteIcon`s are unnecessary expensive HOT 7
- Frame statistics GC boxes are broken
- Unable to open more than one osu!framework based project at the same time HOT 1
- Frame statistics graph causes the visuals to become unresponsive if window isn't focused for a long time
- `LastDisplayDevice` being overridden on game startup in Borderless and Fullscreen modes, based on the window position and size from Windowed mode
- Investigate receiving input without using window event flow HOT 2
- Tablet input should have a property to allow adjusting the mapping target area
- `CancellationToken` should probably always be present in BDL calls
- Input thread blocking causes mouse handling stutters on windows HOT 5
- Game window sometimes does not respond to window size changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osu-framework.