react-joystick-component

Tiny, multitouch, component driven joysticks in react

MIT License

Downloads
13.6K
Stars
87
Committers
7

Bot releases are visible (Hide)

react-joystick-component - 6.2.1 Latest Release

Published by github-actions[bot] over 1 year ago

v6.2.1 (Thu, May 25, 2023)

## 🐛 Bug Fixes
  - [`385d089`](https://github.com/elmarti/react-joystick-component/commit/385d089)  fix callback naming -  fix callback naming
react-joystick-component - 6.2.0

Published by github-actions[bot] over 1 year ago

v6.2.0 (Mon, April 24, 2023)

## ✨ New Features
  - [`6ca2b60`](https://github.com/elmarti/react-joystick-component/commit/6ca2b60)  ⚗ī¸ add ability to override position. -  ⚗ī¸ add ability to override position.

This current implementation allows the user to override the position. The state can be stored in a parent component and override the internal state of the joystick. Closes #40, Closes #58
(Issues: #40 #58)

react-joystick-component - 6.1.1

Published by github-actions[bot] over 1 year ago

v6.1.1 (Sat, April 15, 2023)

## 🐛 Bug Fixes
  - [`48eb8b4`](https://github.com/elmarti/react-joystick-component/commit/48eb8b4)  fix requestAnimationFrame memory lead -  fix requestAnimationFrame memory lead
react-joystick-component - 6.1.0

Published by github-actions[bot] over 1 year ago

v6.1.0 (Sat, March 25, 2023)

## ✨ New Features
  - [`eb0191a`](https://github.com/elmarti/react-joystick-component/commit/eb0191a)  add ability to lock movement to x & y axes -  add ability to lock movement to x & y axes



## 🐛 Bug Fixes
  - [`f0ff7d3`](https://github.com/elmarti/react-joystick-component/commit/f0ff7d3)  fix broken build -  fix broken build
react-joystick-component - 6.0.0

Published by github-actions[bot] almost 2 years ago

v6.0.0 (Thu, November 24, 2022)

## 🐛 Bug Fixes
  - [`790817a`](https://github.com/elmarti/react-joystick-component/commit/790817a)  fix sticky end position -  fix sticky end position


  - [`d6a952b`](https://github.com/elmarti/react-joystick-component/commit/d6a952b)  remove distance ratio -  remove distance ratio



## đŸ’Ĩ Breaking Changes
  - [`9865683`](https://github.com/elmarti/react-joystick-component/commit/9865683)  🐛 fix ratio not working for standard joystick -  🐛 fix ratio not working for standard joystick
react-joystick-component - 5.0.0

Published by github-actions[bot] almost 2 years ago

v5.0.0 (Sat, November 19, 2022)

## đŸ’Ĩ Breaking Changes
  - [`7012fb4`](https://github.com/elmarti/react-joystick-component/commit/7012fb4)  🐛 trigger breaking release -  🐛 trigger breaking release

PR didn't include gitmoji - This is definitely how the joystick should work, however the previous version didn't work this way for varying sizes

react-joystick-component - 4.1.0

Published by github-actions[bot] almost 2 years ago

v4.1.0 (Mon, October 31, 2022)

## ✨ New Features
  - [`92b4020`](https://github.com/elmarti/react-joystick-component/commit/92b4020)  add stick size override -  add stick size override



## 🐛 Bug Fixes
  - [`442d7ff`](https://github.com/elmarti/react-joystick-component/commit/442d7ff)  👷‍♂ī¸ publish raw files in package, fixes: #46, #39 -  👷‍♂ī¸ publish raw files in package, fixes: #46, #39

(Issues: #46 #39)

react-joystick-component - 4.0.1

Published by github-actions[bot] over 2 years ago

v4.0.1 (Fri, May 06, 2022)

## 🐛 Bug Fixes
  - [`c37905b`](https://github.com/elmarti/react-joystick-component/commit/c37905b)  trigger release of #43 -  trigger release of #43

(Issues: #43)

react-joystick-component - 4.0.0

Published by github-actions[bot] almost 3 years ago

v4.0.0 (Sat, January 22, 2022)

## 🐛 Bug Fixes
  - [`4ba9106`](https://github.com/elmarti/react-joystick-component/commit/4ba9106)  fix tsfailure -  fix tsfailure


  - [`8b068aa`](https://github.com/elmarti/react-joystick-component/commit/8b068aa)  fix tsfailure -  fix tsfailure


  - [`f1fc49d`](https://github.com/elmarti/react-joystick-component/commit/f1fc49d)  fix tsfailure -  fix tsfailure


  - [`1810cd4`](https://github.com/elmarti/react-joystick-component/commit/1810cd4)  fix tsfailure -  fix tsfailure



## đŸ’Ĩ Breaking Changes
  - [`129fd6d`](https://github.com/elmarti/react-joystick-component/commit/129fd6d)  use pointer events -  use pointer events

Using pointer events standardises a lot of the code and allows dragging to continue outside of the viewport. closes #26 closes #35
(Issues: #26 #35)

react-joystick-component - 3.3.1

Published by github-actions[bot] almost 3 years ago

v3.3.1 (Fri, January 21, 2022)

## 🐛 Bug Fixes
  - [`5dc68c1`](https://github.com/elmarti/react-joystick-component/commit/5dc68c1)  show bundle size -  show bundle size
react-joystick-component - 3.3.0

Published by github-actions[bot] almost 3 years ago

v3.3.0 (Fri, January 14, 2022)

## ✨ New Features
  - [`045d1af`](https://github.com/elmarti/react-joystick-component/commit/045d1af)  Support multiple touches, fixes #34 -  Support multiple touches, fixes #34

previously we listened for a singleton window event for mouseup/touchend. For touchend we now store the touch.identifier to allow us to identify the touchmove and touchend events, so that we can treat them diffrently per component instance
(Issues: #34)

react-joystick-component - 3.2.0

Published by github-actions[bot] almost 3 years ago

v3.2.0 (Mon, January 10, 2022)

## ✨ New Features
  - [`9aafa1c`](https://github.com/elmarti/react-joystick-component/commit/9aafa1c)  add distance percentile to IJoystickUpdateEvent -  add distance percentile to IJoystickUpdateEvent


  - [`fed26bc`](https://github.com/elmarti/react-joystick-component/commit/fed26bc)  add minDistance, closes #7 -  add minDistance, closes #7

(Issues: #7)

react-joystick-component - 3.1.0

Published by github-actions[bot] almost 3 years ago

v3.1.0 (Sun, January 09, 2022)

## ✨ New Features
  - [`3d23b7e`](https://github.com/elmarti/react-joystick-component/commit/3d23b7e)  Add square shape and ability to revert to old CP -  Add square shape and ability to revert to old CP
react-joystick-component - 3.0.3

Published by github-actions[bot] almost 3 years ago

v3.0.3 (Sun, January 09, 2022)

## 🐛 Bug Fixes
  - [`a7d0c94`](https://github.com/elmarti/react-joystick-component/commit/a7d0c94)  fix non-sticky sticks sticking -  fix non-sticky sticks sticking
react-joystick-component - 3.0.2

Published by github-actions[bot] almost 3 years ago

v3.0.2 (Sat, January 08, 2022)

## 🐛 Bug Fixes
  - [`a3caee4`](https://github.com/elmarti/react-joystick-component/commit/a3caee4)  improve startMove logic -  improve startMove logic

it was still possible to click the joystick whilst following the cursor, this fixes that, but also removes a nest from the startMove method

react-joystick-component - 3.0.1

Published by github-actions[bot] almost 3 years ago

v3.0.1 (Sat, January 08, 2022)

## 🐛 Bug Fixes
  - [`5946ed6`](https://github.com/elmarti/react-joystick-component/commit/5946ed6)  Cleanup events for followCursor -  Cleanup events for followCursor
react-joystick-component - 3.0.0

Published by github-actions[bot] almost 3 years ago

v3.0.0 (Sat, January 08, 2022)

## ✨ New Features
  - [`30cc0ba`](https://github.com/elmarti/react-joystick-component/commit/30cc0ba)  Add cursor following -  Add cursor following



## đŸ’Ĩ Breaking Changes
  - [`4858a0a`](https://github.com/elmarti/react-joystick-component/commit/4858a0a)  Standardise param naming -  Standardise param naming
react-joystick-component - 2.3.0

Published by github-actions[bot] almost 3 years ago

v2.3.0 (Sat, January 08, 2022)

## ✨ New Features
  - [`7a15cac`](https://github.com/elmarti/react-joystick-component/commit/7a15cac)  Add sticky joystick -  Add sticky joystick

The joystick will now stay in place if sticky is set to true

  - [`a8d4482`](https://github.com/elmarti/react-joystick-component/commit/a8d4482)  Allow images for joystick and base -  Allow images for joystick and base
react-joystick-component - 2.2.0

Published by github-actions[bot] almost 3 years ago

v2.2.0 (Sat, January 08, 2022)

## ✨ New Features
  - [`e23bd69`](https://github.com/elmarti/react-joystick-component/commit/e23bd69)  use button for joystick closes closes #19 -  use button for joystick closes closes #19

(Issues: #19)

react-joystick-component - 2.1.1

Published by github-actions[bot] almost 3 years ago

v2.1.1 (Sat, January 08, 2022)

## 🐛 Bug Fixes
  - [`fab12ae`](https://github.com/elmarti/react-joystick-component/commit/fab12ae)  Improve typings use es6 hypotenuse calculation -  Improve typings use es6 hypotenuse calculation