Skip to content

Conversation

@jfreire-unity
Copy link
Collaborator

Description

Tries to fix repeated Mouse events for Touch events done on a touchscreen on Windows.

Base automatically changed from input-for-ui/next-previous-repetition to dmytro/common-input-api-for-ui April 20, 2023 15:34
@jfreire-unity jfreire-unity force-pushed the input-for-ui/fix-touchscreen-mouse-events branch from f738689 to 920c426 Compare April 20, 2023 15:40
@jfreire-unity jfreire-unity merged commit 32cbfc8 into dmytro/common-input-api-for-ui Apr 20, 2023
@jfreire-unity jfreire-unity deleted the input-for-ui/fix-touchscreen-mouse-events branch April 20, 2023 15:40
jfreire-unity added a commit that referenced this pull request May 23, 2023
* Adding dependency to a provider package

* wip

* wip

* wip

* wip

* wip

* wip

* sorting of events and filtering of pointer events

* pointer indices

* more robust scroll events

* forgot to reset state flags

* trying out to use touchscreen for finger index

* removing leftovers

* Add dispatch of navigation events for InputForUI (#1667)

* Add dispatch of navigation events

* Fix formatting

* Unifies GetEventSource() for callback context and devices

* Use DispatchFromCallback and clean todos

* InputForUI: Add repetition for Next/Previous navigation events (#1670)

* Update renaming of Event.CompareType

* Add Next/Previous navigation events repetition

Currently it doesn't deal with keys other than tab and shift+tab. Discussion needs to happen to allow configuration for this with the Input System.

* Set seenTouchEvents and seenTouchEvents for missing control paths and events (#1674)

* fix compilation errors when opening InputSystem project

* fix compilation errors when opening project in older editors

* Bootstrap InputForUI provider only if enabled in the PlayerSettings (ISX-1386)

* Fix null reference errors by not initializing InputForUI in the editor (ISX-1397)

* Fix to avoid PointerEvents from Mouse when using Touch

* Reverse bool logic of resetSeenEventsOnUpdate

* Remove debug logs

* Fix PointerEvents with same pointerIndex for all fingers

* fix InputForUI not being bootstrapped in IL2CPP builds (ISX-1424)

* fix for deprecated warning

* fix for unused variable warning

* run formatting tool

* modify naming to conform to coding convention

* fix for running tests in standalone builds

* Remove commented code and add missing comment

---------

Co-authored-by: Dmytro Ivanov <dmytro@unity3d.com>
Co-authored-by: João <joao.freire@unity3d.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants