input-device-handler

Handles keyboard, mouse, and gamepad inputs with identical APIs so they can be used interchangeably.

CC0-1.0 License

Downloads
79
Stars
0
Committers
1

Bot releases are visible (Hide)

input-device-handler - v5.1.1 Latest Release

Published by github-actions[bot] 6 months ago

Commits

  • b26d1c2: [patch] update deps (electrovir)
input-device-handler - v5.1.0

Published by github-actions[bot] 10 months ago

Commits

  • 83df61d: [patch] update deps (electrovir)
  • 1c8edc6: [minor] use TypedListenTarget as InputDeviceHandler super class (electrovir)
input-device-handler - v5.0.1

Published by github-actions[bot] 10 months ago

Commits

  • 913ef6c: [patch] fix axes getting labelled as buttons (electrovir)
input-device-handler - v5.0.0

Published by github-actions[bot] 10 months ago

Commits

  • ebdb0f4: [major] revamp and unify gamepad input objects (electrovir)
  • 9dbd058: [major] remove addEventListener and add listen instead (electrovir)
input-device-handler - v4.4.0

Published by github-actions[bot] 10 months ago

Commits

  • 274541b: [minor] add parseGamepadInputName and readGamepadInputByName (electrovir)
input-device-handler - v4.3.0

Published by github-actions[bot] 10 months ago

Commits

  • c6ec92f: [minor] add globalDeadZone to InputDeviceHandler constructor options and to InputDeviceHandler.readAllDevices (electrovir)
input-device-handler - v4.2.3

Published by github-actions[bot] 10 months ago

Commits

  • 9685662: [patch] fire events after saving internal values (electrovir)
input-device-handler - v4.2.2

Published by github-actions[bot] 10 months ago

Commits

  • 99dd340: [dev] fix GitHub Pages build (electrovir)
  • b9cd10a: [dev] fix demo app (electrovir)
  • 4b287d0: [patch] update deps (electrovir)
input-device-handler - v4.2.1

Published by github-actions[bot] 11 months ago

Commits

  • fc850d0: [patch] update deps (electrovir)
  • 4a9c781: [dev] update internal configs (electrovir)
  • 3318a6c: [patch] only try to grab gamepads if method exists (electrovir)
input-device-handler - v4.2.0

Published by github-actions[bot] 12 months ago

Commits

  • 5ad6e7d: [minor] add deviceKeyToDeviceType (electrovir)
  • 1da352e: [patch] update deps and configs (electrovir)
input-device-handler - v4.1.0

Published by github-actions[bot] 12 months ago

Commits

  • 03ad215: make input names plain strings (electrovir)
input-device-handler - v4.0.0

Published by github-actions[bot] 12 months ago

Commits

  • 0a57101: replace skipLoopStart with startLoopImmediately, default to false (electrovir)
  • a1c4826: replace listenToMouseMovement with disableMouseMovement, default to false (electrovir)
  • 496b097: replace updateInputDevices with readAllDevices and add deadzone settings input to it (electrovir)
  • 4b20173: simplify GamepadDeadZoneSettings to just a map from device names to input names to values (electrovir)
  • e8d4cf3: update all internal functionality and docs (electrovir)
input-device-handler - v3.0.0

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

Commits

  • 4e6b7d8: use Node.js v20 (electrovir)
  • b629ade: fix AllDevices type requiring all gamepads (it was wrong) and update deps and configs (electrovir)
  • 35edd70: update build scripts to include docs (electrovir)
input-device-handler - v2.0.3

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

Commits

  • 720b590: use performance.now instead of Date.now (electrovir)
input-device-handler - v2.0.2

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

Commits

  • b8fe42d: dont start loop if it already started (electrovir)
input-device-handler - v2.0.1

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

Commits

  • ea91140: fix type import and improve last event storage (electrovir)
input-device-handler - v2.0.0

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

Commits

  • df4809e: update deps (electrovir)
  • 2e6564e: lots of fixes (electrovir)
input-device-handler - v1.1.2

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

Commits

  • 665cf28: upgrade deps (electrovir)
  • 6d40941: update deps (electrovir)
input-device-handler - v1.1.1

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

Commits

  • f5f3690: upgrade deps (electrovir)
input-device-handler - v1.1.0

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

Commits

  • 0601518: add mouse movement listener and fix example website (electrovir)