# joystick icon

Joystick. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/joystick

- Category: Games & sports
- Use it for: joystick, arcade, retro gaming, arcade games
- Tags: joystick, arcade, stick, controller, retro, gaming, game, flight-stick, console
- Component name: JoystickIcon
- Added: 2026-10-15

## Alternatives

- `gamepad`: video games or gaming in general

## Also fits

- gamepad: arcade or retro gaming

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/joystick.svg · PNG https://gentleface.com/png/line-round/16/joystick.png · https://gentleface.com/png/line-round/32/joystick.png · https://gentleface.com/png/line-round/48/joystick.png
- line-soft: https://gentleface.com/svg/line-soft/16/joystick.svg · PNG https://gentleface.com/png/line-soft/16/joystick.png · https://gentleface.com/png/line-soft/32/joystick.png · https://gentleface.com/png/line-soft/48/joystick.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/joystick.svg · PNG https://gentleface.com/png/line-sharp/16/joystick.png · https://gentleface.com/png/line-sharp/32/joystick.png · https://gentleface.com/png/line-sharp/48/joystick.png
- solid-round: https://gentleface.com/svg/solid-round/16/joystick.svg · PNG https://gentleface.com/png/solid-round/16/joystick.png · https://gentleface.com/png/solid-round/32/joystick.png · https://gentleface.com/png/solid-round/48/joystick.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/joystick.svg · PNG https://gentleface.com/png/solid-soft/16/joystick.png · https://gentleface.com/png/solid-soft/32/joystick.png · https://gentleface.com/png/solid-soft/48/joystick.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/joystick.svg · PNG https://gentleface.com/png/solid-sharp/16/joystick.png · https://gentleface.com/png/solid-sharp/32/joystick.png · https://gentleface.com/png/solid-sharp/48/joystick.png

The SVG of every style: https://gentleface.com/icons/joystick.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z"/></svg>
```

### React

```tsx
// Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
import type { SVGProps } from 'react';

export function JoystickIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/joystick.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick. Takes the text color. */
.icon-joystick {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#joystick"/></svg>
```

### SwiftUI

```swift
// Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
import SwiftUI

struct JoystickIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.5, y: 10))
        p.addCurve(to: CGPoint(x: 12.856, y: 10.144), control1: CGPoint(x: 12.641, y: 10), control2: CGPoint(x: 12.759, y: 10.048))
        p.addCurve(to: CGPoint(x: 13, y: 10.5), control1: CGPoint(x: 12.952, y: 10.241), control2: CGPoint(x: 13, y: 10.359))
        p.addLine(to: CGPoint(x: 13, y: 13.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 13.856), control1: CGPoint(x: 13, y: 13.641), control2: CGPoint(x: 12.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 14), control1: CGPoint(x: 12.759, y: 13.952), control2: CGPoint(x: 12.641, y: 14))
        p.addLine(to: CGPoint(x: 2.5, y: 14))
        p.addCurve(to: CGPoint(x: 2.144, y: 13.856), control1: CGPoint(x: 2.359, y: 14), control2: CGPoint(x: 2.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 2, y: 13.5), control1: CGPoint(x: 2.048, y: 13.759), control2: CGPoint(x: 2, y: 13.641))
        p.addLine(to: CGPoint(x: 2, y: 10.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 10.144), control1: CGPoint(x: 2, y: 10.359), control2: CGPoint(x: 2.048, y: 10.241))
        p.addCurve(to: CGPoint(x: 2.5, y: 10), control1: CGPoint(x: 2.241, y: 10.048), control2: CGPoint(x: 2.359, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 8.5))
        p.addCurve(to: CGPoint(x: 3.144, y: 8.144), control1: CGPoint(x: 3, y: 8.359), control2: CGPoint(x: 3.048, y: 8.241))
        p.addCurve(to: CGPoint(x: 3.5, y: 8), control1: CGPoint(x: 3.241, y: 8.048), control2: CGPoint(x: 3.359, y: 8))
        p.addLine(to: CGPoint(x: 5.5, y: 8))
        p.addCurve(to: CGPoint(x: 5.856, y: 8.144), control1: CGPoint(x: 5.641, y: 8), control2: CGPoint(x: 5.759, y: 8.048))
        p.addCurve(to: CGPoint(x: 6, y: 8.5), control1: CGPoint(x: 5.952, y: 8.241), control2: CGPoint(x: 6, y: 8.359))
        p.addLine(to: CGPoint(x: 6, y: 10))
        p.addLine(to: CGPoint(x: 7, y: 10))
        p.addLine(to: CGPoint(x: 7, y: 5.95))
        p.addCurve(to: CGPoint(x: 6.58, y: 5.824), control1: CGPoint(x: 6.857, y: 5.921), control2: CGPoint(x: 6.717, y: 5.879))
        p.addCurve(to: CGPoint(x: 5.732, y: 5.268), control1: CGPoint(x: 6.259, y: 5.697), control2: CGPoint(x: 5.976, y: 5.512))
        p.addCurve(to: CGPoint(x: 5.176, y: 4.42), control1: CGPoint(x: 5.488, y: 5.024), control2: CGPoint(x: 5.303, y: 4.741))
        p.addCurve(to: CGPoint(x: 5, y: 3.5), control1: CGPoint(x: 5.059, y: 4.125), control2: CGPoint(x: 5, y: 3.818))
        p.addCurve(to: CGPoint(x: 5.176, y: 2.58), control1: CGPoint(x: 5, y: 3.182), control2: CGPoint(x: 5.059, y: 2.875))
        p.addCurve(to: CGPoint(x: 5.732, y: 1.732), control1: CGPoint(x: 5.303, y: 2.259), control2: CGPoint(x: 5.488, y: 1.976))
        p.addCurve(to: CGPoint(x: 6.58, y: 1.176), control1: CGPoint(x: 5.976, y: 1.488), control2: CGPoint(x: 6.259, y: 1.303))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 6.875, y: 1.059), control2: CGPoint(x: 7.182, y: 1))
        p.addCurve(to: CGPoint(x: 8.42, y: 1.176), control1: CGPoint(x: 7.818, y: 1), control2: CGPoint(x: 8.125, y: 1.059))
        p.addCurve(to: CGPoint(x: 9.268, y: 1.732), control1: CGPoint(x: 8.741, y: 1.303), control2: CGPoint(x: 9.024, y: 1.488))
        p.addCurve(to: CGPoint(x: 9.824, y: 2.58), control1: CGPoint(x: 9.512, y: 1.976), control2: CGPoint(x: 9.697, y: 2.259))
        p.addCurve(to: CGPoint(x: 10, y: 3.5), control1: CGPoint(x: 9.941, y: 2.875), control2: CGPoint(x: 10, y: 3.182))
        p.addCurve(to: CGPoint(x: 9.824, y: 4.42), control1: CGPoint(x: 10, y: 3.818), control2: CGPoint(x: 9.941, y: 4.125))
        p.addCurve(to: CGPoint(x: 9.268, y: 5.268), control1: CGPoint(x: 9.697, y: 4.741), control2: CGPoint(x: 9.512, y: 5.024))
        p.addCurve(to: CGPoint(x: 8.42, y: 5.824), control1: CGPoint(x: 9.024, y: 5.512), control2: CGPoint(x: 8.741, y: 5.697))
        p.addCurve(to: CGPoint(x: 8, y: 5.95), control1: CGPoint(x: 8.283, y: 5.879), control2: CGPoint(x: 8.142, y: 5.921))
        p.addLine(to: CGPoint(x: 8, y: 10))
        p.addLine(to: CGPoint(x: 12.5, y: 10))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.439, y: 4.561))
        p.addCurve(to: CGPoint(x: 6.948, y: 4.895), control1: CGPoint(x: 6.586, y: 4.707), control2: CGPoint(x: 6.755, y: 4.818))
        p.addCurve(to: CGPoint(x: 7.5, y: 5), control1: CGPoint(x: 7.125, y: 4.965), control2: CGPoint(x: 7.309, y: 5))
        p.addCurve(to: CGPoint(x: 8.052, y: 4.895), control1: CGPoint(x: 7.691, y: 5), control2: CGPoint(x: 7.875, y: 4.965))
        p.addCurve(to: CGPoint(x: 8.561, y: 4.561), control1: CGPoint(x: 8.245, y: 4.818), control2: CGPoint(x: 8.414, y: 4.707))
        p.addCurve(to: CGPoint(x: 8.895, y: 4.052), control1: CGPoint(x: 8.707, y: 4.414), control2: CGPoint(x: 8.818, y: 4.245))
        p.addCurve(to: CGPoint(x: 9, y: 3.5), control1: CGPoint(x: 8.965, y: 3.875), control2: CGPoint(x: 9, y: 3.691))
        p.addCurve(to: CGPoint(x: 8.895, y: 2.948), control1: CGPoint(x: 9, y: 3.309), control2: CGPoint(x: 8.965, y: 3.125))
        p.addCurve(to: CGPoint(x: 8.561, y: 2.439), control1: CGPoint(x: 8.818, y: 2.755), control2: CGPoint(x: 8.707, y: 2.586))
        p.addCurve(to: CGPoint(x: 8.052, y: 2.105), control1: CGPoint(x: 8.414, y: 2.293), control2: CGPoint(x: 8.245, y: 2.182))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.875, y: 2.035), control2: CGPoint(x: 7.691, y: 2))
        p.addCurve(to: CGPoint(x: 6.948, y: 2.105), control1: CGPoint(x: 7.309, y: 2), control2: CGPoint(x: 7.125, y: 2.035))
        p.addCurve(to: CGPoint(x: 6.439, y: 2.439), control1: CGPoint(x: 6.755, y: 2.182), control2: CGPoint(x: 6.586, y: 2.293))
        p.addCurve(to: CGPoint(x: 6.105, y: 2.948), control1: CGPoint(x: 6.293, y: 2.586), control2: CGPoint(x: 6.182, y: 2.755))
        p.addCurve(to: CGPoint(x: 6, y: 3.5), control1: CGPoint(x: 6.035, y: 3.125), control2: CGPoint(x: 6, y: 3.309))
        p.addCurve(to: CGPoint(x: 6.105, y: 4.052), control1: CGPoint(x: 6, y: 3.691), control2: CGPoint(x: 6.035, y: 3.875))
        p.addCurve(to: CGPoint(x: 6.439, y: 4.561), control1: CGPoint(x: 6.182, y: 4.245), control2: CGPoint(x: 6.293, y: 4.414))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 9))
        p.addLine(to: CGPoint(x: 4, y: 10))
        p.addLine(to: CGPoint(x: 5, y: 10))
        p.addLine(to: CGPoint(x: 5, y: 9))
        p.addLine(to: CGPoint(x: 4, y: 9))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 11))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addLine(to: CGPoint(x: 3, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 11))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// JoystickIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val JoystickIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "joystick", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(JoystickIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_joystick.xml · Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
import 'package:flutter/widgets.dart';

class JoystickIcon extends StatelessWidget {
  const JoystickIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _JoystickIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _JoystickIconPainter extends CustomPainter {
  _JoystickIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.5, 10)
      ..cubicTo(12.641, 10, 12.759, 10.048, 12.856, 10.144)
      ..cubicTo(12.952, 10.241, 13, 10.359, 13, 10.5)
      ..lineTo(13, 13.5)
      ..cubicTo(13, 13.641, 12.952, 13.759, 12.856, 13.856)
      ..cubicTo(12.759, 13.952, 12.641, 14, 12.5, 14)
      ..lineTo(2.5, 14)
      ..cubicTo(2.359, 14, 2.241, 13.952, 2.144, 13.856)
      ..cubicTo(2.048, 13.759, 2, 13.641, 2, 13.5)
      ..lineTo(2, 10.5)
      ..cubicTo(2, 10.359, 2.048, 10.241, 2.144, 10.144)
      ..cubicTo(2.241, 10.048, 2.359, 10, 2.5, 10)
      ..lineTo(3, 10)
      ..lineTo(3, 8.5)
      ..cubicTo(3, 8.359, 3.048, 8.241, 3.144, 8.144)
      ..cubicTo(3.241, 8.048, 3.359, 8, 3.5, 8)
      ..lineTo(5.5, 8)
      ..cubicTo(5.641, 8, 5.759, 8.048, 5.856, 8.144)
      ..cubicTo(5.952, 8.241, 6, 8.359, 6, 8.5)
      ..lineTo(6, 10)
      ..lineTo(7, 10)
      ..lineTo(7, 5.95)
      ..cubicTo(6.857, 5.921, 6.717, 5.879, 6.58, 5.824)
      ..cubicTo(6.259, 5.697, 5.976, 5.512, 5.732, 5.268)
      ..cubicTo(5.488, 5.024, 5.303, 4.741, 5.176, 4.42)
      ..cubicTo(5.059, 4.125, 5, 3.818, 5, 3.5)
      ..cubicTo(5, 3.182, 5.059, 2.875, 5.176, 2.58)
      ..cubicTo(5.303, 2.259, 5.488, 1.976, 5.732, 1.732)
      ..cubicTo(5.976, 1.488, 6.259, 1.303, 6.58, 1.176)
      ..cubicTo(6.875, 1.059, 7.182, 1, 7.5, 1)
      ..cubicTo(7.818, 1, 8.125, 1.059, 8.42, 1.176)
      ..cubicTo(8.741, 1.303, 9.024, 1.488, 9.268, 1.732)
      ..cubicTo(9.512, 1.976, 9.697, 2.259, 9.824, 2.58)
      ..cubicTo(9.941, 2.875, 10, 3.182, 10, 3.5)
      ..cubicTo(10, 3.818, 9.941, 4.125, 9.824, 4.42)
      ..cubicTo(9.697, 4.741, 9.512, 5.024, 9.268, 5.268)
      ..cubicTo(9.024, 5.512, 8.741, 5.697, 8.42, 5.824)
      ..cubicTo(8.283, 5.879, 8.142, 5.921, 8, 5.95)
      ..lineTo(8, 10)
      ..lineTo(12.5, 10)
      ..close()
      ..moveTo(6.439, 4.561)
      ..cubicTo(6.586, 4.707, 6.755, 4.818, 6.948, 4.895)
      ..cubicTo(7.125, 4.965, 7.309, 5, 7.5, 5)
      ..cubicTo(7.691, 5, 7.875, 4.965, 8.052, 4.895)
      ..cubicTo(8.245, 4.818, 8.414, 4.707, 8.561, 4.561)
      ..cubicTo(8.707, 4.414, 8.818, 4.245, 8.895, 4.052)
      ..cubicTo(8.965, 3.875, 9, 3.691, 9, 3.5)
      ..cubicTo(9, 3.309, 8.965, 3.125, 8.895, 2.948)
      ..cubicTo(8.818, 2.755, 8.707, 2.586, 8.561, 2.439)
      ..cubicTo(8.414, 2.293, 8.245, 2.182, 8.052, 2.105)
      ..cubicTo(7.875, 2.035, 7.691, 2, 7.5, 2)
      ..cubicTo(7.309, 2, 7.125, 2.035, 6.948, 2.105)
      ..cubicTo(6.755, 2.182, 6.586, 2.293, 6.439, 2.439)
      ..cubicTo(6.293, 2.586, 6.182, 2.755, 6.105, 2.948)
      ..cubicTo(6.035, 3.125, 6, 3.309, 6, 3.5)
      ..cubicTo(6, 3.691, 6.035, 3.875, 6.105, 4.052)
      ..cubicTo(6.182, 4.245, 6.293, 4.414, 6.439, 4.561)
      ..close()
      ..moveTo(4, 9)
      ..lineTo(4, 10)
      ..lineTo(5, 10)
      ..lineTo(5, 9)
      ..lineTo(4, 9)
      ..close()
      ..moveTo(12, 11)
      ..lineTo(3, 11)
      ..lineTo(3, 13)
      ..lineTo(12, 13)
      ..lineTo(12, 11)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_JoystickIconPainter old) => old.color != color;
}
```
