# gpui: Add mobile/touch API surface \(\#60496\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9c3273201ce6fe6b97a5aa38a7a2cab8098b7a6e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9c3273201ce6fe6b97a5aa38a7a2cab8098b7a6e

Requested commit: 9c3273201ce6fe6b97a5aa38a7a2cab8098b7a6e

Commit: 9c3273201ce6fe6b97a5aa38a7a2cab8098b7a6e

Tree: cb4c5a8cf13461ee7b4c476ca21466cdd3967619

Author: Mikayla Maki

Committer: GitHub

## Message

```
gpui: Add mobile/touch API surface (#60496)

TODO:

- [ ] Remove slop comments
- [ ] Review APIs in detail

# Objective

- This PR aims to add official mobile API surfaces to GPUI

## Solution

- This PR cross references several internal experiments to come up with
a general cross-platform abstraction for core input mechanisms, but
defers actual implementations to later. These are intended to be a
common base to build off of.

## Testing

- Yes, as mentioned above with external experiments

## Self-Review Checklist:

- [ ] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- N/A
```

## Parents

- [df377660607fd0ba824940b2350dac6b7e4912be](https://git.cafe/gitcafe/zed/commit/df377660607fd0ba824940b2350dac6b7e4912be?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9c3273201ce6fe6b97a5aa38a7a2cab8098b7a6e?format=markdown)
