@benev/tact 0.3.0-4 → 0.4.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -53
- package/package.json +18 -20
- package/s/_archive/deck/deck.ts +76 -53
- package/s/{deck → _archive/deck}/parts/profiles.ts +2 -2
- package/s/{deck → _archive/deck}/parts/settings.ts +3 -3
- package/s/_archive/demo/demo-app/element.ts +17 -0
- package/s/_archive/{deck/views/bindings → demo/demo-app}/style.css.ts +4 -0
- package/s/_archive/demo/main.bundle.ts +67 -6
- package/s/_archive/demo/main.css +6 -8
- package/s/{device → _archive/device}/pointer.ts +8 -16
- package/s/_archive/lib/bindings/resolver.ts +61 -0
- package/s/_archive/lib/bindings/types.ts +67 -0
- package/s/_archive/lib/bindings/utils/action-resolver.ts +51 -0
- package/s/_archive/lib/bindings/utils/evaluator.ts +162 -0
- package/s/_archive/lib/bindings/utils/hash-bindings.ts +22 -0
- package/s/_archive/lib/bindings/utils/intent-coding.ts +50 -0
- package/s/_archive/lib/bindings/utils/intent-resolver.ts +52 -0
- package/s/_archive/lib/bindings/utils/investigate.ts +47 -0
- package/s/_archive/lib/bindings/utils/is-expression.ts +11 -0
- package/s/_archive/lib/index.ts +12 -0
- package/s/_archive/lib/sampling/sources/example.ts +7 -0
- package/s/_archive/lib/sampling/sources/gamepad.ts +63 -0
- package/s/_archive/lib/sampling/sources/keyboard.ts +52 -0
- package/s/_archive/lib/sampling/sources/pointer.ts +56 -0
- package/s/_archive/lib/sampling/sources/sources.ts +13 -0
- package/s/_archive/lib/sampling/sources/stick.ts +27 -0
- package/s/_archive/lib/sampling/types.ts +11 -0
- package/s/_archive/lib/sampling/utils/add-sample.ts +12 -0
- package/s/_archive/lib/test.ts +57 -0
- package/s/_archive/lib/utils/backwards.ts +6 -0
- package/s/_archive/lib/utils/mouse-button.ts +10 -0
- package/s/_archive/lib/utils/pad/on-pad.ts +50 -0
- package/s/_archive/lib/utils/pad/pad.ts +10 -0
- package/s/_archive/lib2/core/decoder/decoder.ts +34 -0
- package/s/_archive/lib2/core/decoder/utils/update-input.ts +21 -0
- package/s/_archive/lib2/core/encoder/encoder.ts +60 -0
- package/s/_archive/lib2/core/encoder/evaluate/context.ts +22 -0
- package/s/_archive/lib2/core/encoder/evaluate/evaluate.ts +144 -0
- package/s/_archive/lib2/core/encoder/parts/expression-index.ts +27 -0
- package/s/_archive/lib2/core/encoder/parts/hash-bindings.ts +22 -0
- package/s/_archive/lib2/core/encoder/parts/investigate.ts +50 -0
- package/s/_archive/lib2/core/encoder/parts/sampler.ts +22 -0
- package/s/_archive/lib2/core/sources/example.ts +9 -0
- package/s/_archive/lib2/core/sources/sources.ts +16 -0
- package/s/_archive/lib2/core/types.ts +78 -0
- package/s/_archive/lib2/core/utils/data.ts +50 -0
- package/s/_archive/lib2/core/utils/is-down.ts +5 -0
- package/s/_archive/lib2/core/utils/is-expression.ts +11 -0
- package/s/_archive/lib3/input/data/decode.ts +25 -0
- package/s/_archive/lib3/input/data/encode.ts +24 -0
- package/s/_archive/lib3/input/data/params.ts +7 -0
- package/s/_archive/lib3/input/decoder.ts +56 -0
- package/s/_archive/lib3/input/encoder.ts +99 -0
- package/s/_archive/lib3/input/evaluate/context.ts +15 -0
- package/s/_archive/lib3/input/evaluate/evaluate.ts +142 -0
- package/s/_archive/lib3/input/evaluate/utils/clock.ts +14 -0
- package/s/_archive/lib3/input/investigate/hash-bindings.ts +22 -0
- package/s/_archive/lib3/input/investigate/investigate.ts +42 -0
- package/s/_archive/lib3/input/investigate/is-expression.ts +11 -0
- package/s/_archive/lib3/input/investigate/make-input.ts +18 -0
- package/s/_archive/lib3/input/investigate/root-index.ts +26 -0
- package/s/_archive/lib3/input/mixer.ts +20 -0
- package/s/_archive/lib3/input/sources/gamepad.ts +58 -0
- package/s/_archive/lib3/input/sources/keyboard.ts +49 -0
- package/s/_archive/lib3/input/sources/plain.ts +9 -0
- package/s/_archive/lib3/input/sources/pointer.ts +58 -0
- package/s/_archive/lib3/input/sources/sources.ts +24 -0
- package/s/_archive/lib3/input/sources/stick.ts +29 -0
- package/s/_archive/lib3/input/testing/quickbind.ts +20 -0
- package/s/_archive/lib3/input/types.ts +96 -0
- package/s/_archive/lib3/input/utils/evergreen.ts +10 -0
- package/s/_archive/lib3/input/utils/is-down.ts +5 -0
- package/s/_archive/lib3/input/utils/mouse-button.ts +10 -0
- package/s/_archive/lib3/input/utils/pad/on-pad.ts +50 -0
- package/s/_archive/lib3/input/utils/pad/pad.ts +10 -0
- package/s/_archive/lib3/input/utils/sampler.ts +28 -0
- package/s/_archive/lib3/input/utils/split-axis.ts +15 -0
- package/s/_archive/lib3/test.ts +100 -0
- package/s/_archive/lib4/input/data/decode.ts +25 -0
- package/s/_archive/lib4/input/data/encode.ts +24 -0
- package/s/_archive/lib4/input/data/params.ts +7 -0
- package/s/_archive/lib4/input/encoder.ts +100 -0
- package/s/_archive/lib4/input/evaluate/context.ts +16 -0
- package/s/_archive/lib4/input/evaluate/evaluate.ts +157 -0
- package/s/_archive/lib4/input/evaluate/utils/clock.ts +14 -0
- package/s/_archive/lib4/input/investigate/hash-bindings.ts +22 -0
- package/s/_archive/lib4/input/investigate/investigate.ts +37 -0
- package/s/_archive/lib4/input/investigate/is.ts +19 -0
- package/s/_archive/lib4/input/investigate/make-input.ts +18 -0
- package/s/_archive/lib4/input/investigate/root-index.ts +26 -0
- package/s/_archive/lib4/input/sources/gamepad.ts +58 -0
- package/s/_archive/lib4/input/sources/keyboard.ts +46 -0
- package/s/_archive/lib4/input/sources/plain.ts +9 -0
- package/s/_archive/lib4/input/sources/pointer.ts +50 -0
- package/s/_archive/lib4/input/sources/sources.ts +24 -0
- package/s/_archive/lib4/input/sources/stick.ts +25 -0
- package/s/_archive/lib4/input/types.ts +102 -0
- package/s/_archive/lib4/input/utils/evergreen.ts +10 -0
- package/s/_archive/lib4/input/utils/is-down.ts +5 -0
- package/s/_archive/lib4/input/utils/mouse-button.ts +10 -0
- package/s/_archive/lib4/input/utils/pad/on-pad.ts +50 -0
- package/s/_archive/lib4/input/utils/pad/pad.ts +10 -0
- package/s/_archive/lib4/input/utils/sampler.ts +28 -0
- package/s/_archive/lib4/input/utils/split-axis.ts +15 -0
- package/s/_archive/lib4/test.ts +12 -0
- package/s/_archive/utils/circular-clamp.ts +2 -2
- package/s/_archive/utils/is-down.ts +5 -0
- package/s/demo/demo-app/element.ts +2 -4
- package/s/demo/main.bundle.ts +2 -65
- package/s/gamepad/gamepad-app/element.ts +14 -11
- package/s/lib/index.ts +18 -0
- package/s/lib/input/data/decode.ts +25 -0
- package/s/lib/input/data/encode.ts +24 -0
- package/s/lib/input/data/params.ts +7 -0
- package/s/lib/input/decoder.ts +40 -0
- package/s/lib/input/encoder.ts +64 -0
- package/s/lib/input/evaluate/context.ts +17 -0
- package/s/lib/input/evaluate/evaluate.ts +199 -0
- package/s/lib/input/expression.ts +44 -0
- package/s/lib/input/investigate/hash-bindings.ts +22 -0
- package/s/lib/input/investigate/investigate.ts +35 -0
- package/s/lib/input/investigate/is-compatible.ts +8 -0
- package/s/lib/input/investigate/is-expression.ts +12 -0
- package/s/lib/input/investigate/make-input.ts +11 -0
- package/s/lib/input/sources/gamepad.ts +55 -0
- package/s/lib/input/sources/keyboard.ts +46 -0
- package/s/lib/input/sources/plain.ts +9 -0
- package/s/lib/input/sources/pointer.ts +56 -0
- package/s/lib/input/sources/sources.ts +24 -0
- package/s/lib/input/sources/stick.ts +32 -0
- package/s/lib/input/testing/quickbind.ts +20 -0
- package/s/lib/input/types.ts +52 -0
- package/s/lib/input/utils/clock.ts +14 -0
- package/s/lib/input/utils/evergreen.ts +10 -0
- package/s/lib/input/utils/is-down.ts +5 -0
- package/s/lib/input/utils/mouse-button.ts +10 -0
- package/s/lib/input/utils/pad/on-pad.ts +50 -0
- package/s/lib/input/utils/pad/pad.ts +10 -0
- package/s/lib/input/utils/sampler.ts +28 -0
- package/s/lib/input/utils/split-axis.ts +15 -0
- package/s/lib/test.ts +180 -0
- package/x/_archive/demo/main.css +6 -8
- package/x/demo/demo-app/element.d.ts +1 -3
- package/x/demo/demo-app/element.js +2 -3
- package/x/demo/demo-app/element.js.map +1 -1
- package/x/demo/main.bundle.js +1 -50
- package/x/demo/main.bundle.js.map +1 -1
- package/x/demo/main.bundle.min.js +9 -134
- package/x/demo/main.bundle.min.js.map +4 -4
- package/x/gamepad/gamepad-app/element.js +12 -10
- package/x/gamepad/gamepad-app/element.js.map +1 -1
- package/x/gamepad/index.html +2 -2
- package/x/gamepad/main.bundle.min.js +9 -9
- package/x/gamepad/main.bundle.min.js.map +4 -4
- package/x/index.html +2 -2
- package/x/lib/index.d.ts +13 -0
- package/x/lib/index.js +14 -0
- package/x/lib/index.js.map +1 -0
- package/x/lib/input/data/decode.d.ts +5 -0
- package/x/lib/input/data/decode.js +17 -0
- package/x/lib/input/data/decode.js.map +1 -0
- package/x/lib/input/data/encode.d.ts +2 -0
- package/x/lib/input/data/encode.js +17 -0
- package/x/lib/input/data/encode.js.map +1 -0
- package/x/lib/input/data/params.d.ts +5 -0
- package/x/lib/input/data/params.js +6 -0
- package/x/lib/input/data/params.js.map +1 -0
- package/x/lib/input/decoder.d.ts +7 -0
- package/x/lib/input/decoder.js +31 -0
- package/x/lib/input/decoder.js.map +1 -0
- package/x/lib/input/encoder.d.ts +10 -0
- package/x/lib/input/encoder.js +49 -0
- package/x/lib/input/encoder.js.map +1 -0
- package/x/lib/input/evaluate/context.d.ts +16 -0
- package/x/lib/input/evaluate/context.js +12 -0
- package/x/lib/input/evaluate/context.js.map +1 -0
- package/x/lib/input/evaluate/evaluate.d.ts +3 -0
- package/x/lib/input/evaluate/evaluate.js +147 -0
- package/x/lib/input/evaluate/evaluate.js.map +1 -0
- package/x/lib/input/expression.d.ts +1 -0
- package/x/lib/input/expression.js +2 -0
- package/x/lib/input/expression.js.map +1 -0
- package/x/lib/input/investigate/hash-bindings.d.ts +2 -0
- package/x/lib/input/investigate/hash-bindings.js +17 -0
- package/x/lib/input/investigate/hash-bindings.js.map +1 -0
- package/x/lib/input/investigate/investigate.d.ts +8 -0
- package/x/lib/input/investigate/investigate.js +28 -0
- package/x/lib/input/investigate/investigate.js.map +1 -0
- package/x/lib/input/investigate/is-compatible.d.ts +2 -0
- package/x/lib/input/investigate/is-compatible.js +5 -0
- package/x/lib/input/investigate/is-compatible.js.map +1 -0
- package/x/lib/input/investigate/is-expression.d.ts +3 -0
- package/x/lib/input/investigate/is-expression.js +11 -0
- package/x/lib/input/investigate/is-expression.js.map +1 -0
- package/x/lib/input/investigate/make-input.d.ts +2 -0
- package/x/lib/input/investigate/make-input.js +8 -0
- package/x/lib/input/investigate/make-input.js.map +1 -0
- package/x/lib/input/sources/gamepad.d.ts +9 -0
- package/x/lib/input/sources/gamepad.js +45 -0
- package/x/lib/input/sources/gamepad.js.map +1 -0
- package/x/lib/input/sources/keyboard.d.ts +5 -0
- package/x/lib/input/sources/keyboard.js +36 -0
- package/x/lib/input/sources/keyboard.js.map +1 -0
- package/x/lib/input/sources/plain.d.ts +5 -0
- package/x/lib/input/sources/plain.js +6 -0
- package/x/lib/input/sources/plain.js.map +1 -0
- package/x/lib/input/sources/pointer.d.ts +7 -0
- package/x/lib/input/sources/pointer.js +54 -0
- package/x/lib/input/sources/pointer.js.map +1 -0
- package/x/lib/input/sources/sources.d.ts +7 -0
- package/x/lib/input/sources/sources.js +15 -0
- package/x/lib/input/sources/sources.js.map +1 -0
- package/x/lib/input/sources/stick.d.ts +10 -0
- package/x/lib/input/sources/stick.js +25 -0
- package/x/lib/input/sources/stick.js.map +1 -0
- package/x/lib/input/testing/quickbind.d.ts +11 -0
- package/x/lib/input/testing/quickbind.js +12 -0
- package/x/lib/input/testing/quickbind.js.map +1 -0
- package/x/lib/input/types.d.ts +37 -0
- package/x/lib/input/types.js +2 -0
- package/x/lib/input/types.js.map +1 -0
- package/x/lib/input/utils/clock.d.ts +7 -0
- package/x/lib/input/utils/clock.js +14 -0
- package/x/lib/input/utils/clock.js.map +1 -0
- package/x/lib/input/utils/evergreen.js.map +1 -0
- package/x/lib/input/utils/is-down.js.map +1 -0
- package/x/lib/input/utils/mouse-button.d.ts +1 -0
- package/x/lib/input/utils/mouse-button.js +9 -0
- package/x/lib/input/utils/mouse-button.js.map +1 -0
- package/x/lib/input/utils/pad/on-pad.js.map +1 -0
- package/x/lib/input/utils/pad/pad.js.map +1 -0
- package/x/lib/input/utils/sampler.d.ts +7 -0
- package/x/lib/input/utils/sampler.js +23 -0
- package/x/lib/input/utils/sampler.js.map +1 -0
- package/x/lib/input/utils/split-axis.js.map +1 -0
- package/x/lib/test.d.ts +1 -0
- package/x/lib/test.js +134 -0
- package/x/lib/test.js.map +1 -0
- package/s/_archive/README.md +0 -435
- package/s/_archive/core/bindings/action.ts +0 -30
- package/s/_archive/core/bindings/parts/defaults.ts +0 -32
- package/s/_archive/core/bindings/parts/is-pressed.ts +0 -5
- package/s/_archive/core/bindings/parts/lens-algo.ts +0 -84
- package/s/_archive/core/bindings/parts/lookup-proxies.ts +0 -17
- package/s/_archive/core/bindings/resolver.ts +0 -103
- package/s/_archive/core/bindings/sample-map.ts +0 -25
- package/s/_archive/core/bindings/types.ts +0 -60
- package/s/_archive/core/core.test.ts +0 -155
- package/s/_archive/core/devices/auto-gamepads.ts +0 -8
- package/s/_archive/core/devices/device.ts +0 -12
- package/s/_archive/core/devices/infra/group.ts +0 -24
- package/s/_archive/core/devices/infra/sampler.ts +0 -22
- package/s/_archive/core/devices/standard/gamepad.ts +0 -83
- package/s/_archive/core/devices/standard/index.ts +0 -8
- package/s/_archive/core/devices/standard/keyboard.ts +0 -31
- package/s/_archive/core/devices/standard/pointer.ts +0 -97
- package/s/_archive/core/devices/standard/primary.ts +0 -20
- package/s/_archive/core/devices/standard/stick.ts +0 -27
- package/s/_archive/core/devices/standard/vpad.ts +0 -25
- package/s/_archive/core/devices/types.ts +0 -3
- package/s/_archive/core/hub/hub.ts +0 -118
- package/s/_archive/core/hub/meta-bindings.ts +0 -23
- package/s/_archive/core/hub/parts/connected.ts +0 -15
- package/s/_archive/core/hub/port.ts +0 -26
- package/s/_archive/core/hub/types.ts +0 -13
- package/s/_archive/core/index.ts +0 -19
- package/s/_archive/core/testing/testing.ts +0 -57
- package/s/_archive/deck/index.ts +0 -13
- package/s/_archive/deck/parts/catalog.ts +0 -58
- package/s/_archive/deck/parts/db.ts +0 -65
- package/s/_archive/deck/parts/device-skins/device-icons.ts +0 -38
- package/s/_archive/deck/parts/device-skins/device-skin.ts +0 -29
- package/s/_archive/deck/parts/local-storage-kv.ts +0 -8
- package/s/_archive/deck/parts/merge-bindings.ts +0 -21
- package/s/_archive/deck/parts/overlay-visibility.ts +0 -49
- package/s/_archive/deck/views/bindings/view.ts +0 -95
- package/s/_archive/deck/views/overlay/style.css.ts +0 -110
- package/s/_archive/deck/views/overlay/view.ts +0 -46
- package/s/_archive/demo/game/game.ts +0 -85
- package/s/_archive/demo/game/parts/agent.ts +0 -10
- package/s/_archive/demo/game/parts/game-bindings.ts +0 -20
- package/s/_archive/demo/game/parts/logic.ts +0 -24
- package/s/_archive/demo/game/parts/player.ts +0 -32
- package/s/_archive/demo/game/parts/renderer.ts +0 -112
- package/s/_archive/demo/game/parts/state.ts +0 -23
- package/s/_archive/demo/game/parts/virtual-device.ts +0 -13
- package/s/_archive/demo/ui/theater/styles.css.ts +0 -57
- package/s/_archive/demo/ui/theater/view.ts +0 -55
- package/s/_archive/demo/ui/theater/virtual/style.css.ts +0 -43
- package/s/_archive/demo/ui/theater/virtual/view.ts +0 -29
- package/s/_archive/demo/ui/utils/loader.ts +0 -5
- package/s/_archive/index.html.ts +0 -61
- package/s/_archive/index.ts +0 -8
- package/s/_archive/nubs/index.ts +0 -5
- package/s/_archive/nubs/lookpad/styles.ts +0 -21
- package/s/_archive/nubs/lookpad/view.ts +0 -39
- package/s/_archive/nubs/stick/style.css.ts +0 -70
- package/s/_archive/nubs/stick/view.ts +0 -108
- package/s/_archive/nubs/vpad/styles.css.ts +0 -134
- package/s/_archive/nubs/vpad/utils/gamepad-inputs.ts +0 -42
- package/s/_archive/nubs/vpad/utils/prevent-default-touch-shenanigans.ts +0 -12
- package/s/_archive/nubs/vpad/utils/touch-tracking.ts +0 -75
- package/s/_archive/nubs/vpad/view.ts +0 -141
- package/s/_archive/tests.test.ts +0 -6
- package/s/_archive/utils/dispensers.ts +0 -20
- package/s/_archive/utils/gamepads.ts +0 -41
- package/s/_archive/utils/quick-math.ts +0 -13
- package/s/deck/deck.ts +0 -92
- package/s/index.ts +0 -31
- package/s/utils/circular-clamp.ts +0 -14
- package/x/core/atom/defaults.d.ts +0 -3
- package/x/core/atom/defaults.js +0 -26
- package/x/core/atom/defaults.js.map +0 -1
- package/x/core/atom/lens-algo.d.ts +0 -2
- package/x/core/atom/lens-algo.js +0 -54
- package/x/core/atom/lens-algo.js.map +0 -1
- package/x/core/atom/types.d.ts +0 -27
- package/x/core/atom/types.js +0 -2
- package/x/core/atom/types.js.map +0 -1
- package/x/core/bindings/normalize.d.ts +0 -2
- package/x/core/bindings/normalize.js +0 -17
- package/x/core/bindings/normalize.js.map +0 -1
- package/x/core/bindings/shape.d.ts +0 -2
- package/x/core/bindings/shape.js +0 -10
- package/x/core/bindings/shape.js.map +0 -1
- package/x/core/bindings/table.d.ts +0 -2
- package/x/core/bindings/table.js +0 -15
- package/x/core/bindings/table.js.map +0 -1
- package/x/core/intent/bucket.d.ts +0 -7
- package/x/core/intent/bucket.js +0 -21
- package/x/core/intent/bucket.js.map +0 -1
- package/x/core/intent/consts.d.ts +0 -2
- package/x/core/intent/consts.js +0 -3
- package/x/core/intent/consts.js.map +0 -1
- package/x/core/intent/decode.d.ts +0 -3
- package/x/core/intent/decode.js +0 -18
- package/x/core/intent/decode.js.map +0 -1
- package/x/core/intent/encode.d.ts +0 -3
- package/x/core/intent/encode.js +0 -15
- package/x/core/intent/encode.js.map +0 -1
- package/x/core/intent/merge.d.ts +0 -3
- package/x/core/intent/merge.js +0 -10
- package/x/core/intent/merge.js.map +0 -1
- package/x/core/parts/action.d.ts +0 -14
- package/x/core/parts/action.js +0 -30
- package/x/core/parts/action.js.map +0 -1
- package/x/core/parts/sample-map.d.ts +0 -6
- package/x/core/parts/sample-map.js +0 -21
- package/x/core/parts/sample-map.js.map +0 -1
- package/x/core/resolvers/actions.d.ts +0 -2
- package/x/core/resolvers/actions.js +0 -23
- package/x/core/resolvers/actions.js.map +0 -1
- package/x/core/resolvers/intents.d.ts +0 -2
- package/x/core/resolvers/intents.js +0 -89
- package/x/core/resolvers/intents.js.map +0 -1
- package/x/core/types.d.ts +0 -43
- package/x/core/types.js +0 -2
- package/x/core/types.js.map +0 -1
- package/x/deck/controller.d.ts +0 -11
- package/x/deck/controller.js +0 -28
- package/x/deck/controller.js.map +0 -1
- package/x/deck/deck.d.ts +0 -31
- package/x/deck/deck.js +0 -68
- package/x/deck/deck.js.map +0 -1
- package/x/deck/parts/profiles.d.ts +0 -12
- package/x/deck/parts/profiles.js +0 -31
- package/x/deck/parts/profiles.js.map +0 -1
- package/x/deck/parts/runtime.d.ts +0 -8
- package/x/deck/parts/runtime.js +0 -7
- package/x/deck/parts/runtime.js.map +0 -1
- package/x/deck/parts/settings.d.ts +0 -11
- package/x/deck/parts/settings.js +0 -26
- package/x/deck/parts/settings.js.map +0 -1
- package/x/deck/port.d.ts +0 -10
- package/x/deck/port.js +0 -24
- package/x/deck/port.js.map +0 -1
- package/x/deck/types.d.ts +0 -11
- package/x/deck/types.js +0 -2
- package/x/deck/types.js.map +0 -1
- package/x/device/devices.d.ts +0 -7
- package/x/device/devices.js +0 -17
- package/x/device/devices.js.map +0 -1
- package/x/device/gamepad.d.ts +0 -9
- package/x/device/gamepad.js +0 -37
- package/x/device/gamepad.js.map +0 -1
- package/x/device/keyboard.d.ts +0 -6
- package/x/device/keyboard.js +0 -30
- package/x/device/keyboard.js.map +0 -1
- package/x/device/pad/on-pad.js.map +0 -1
- package/x/device/pad/pad.js.map +0 -1
- package/x/device/pointer.d.ts +0 -12
- package/x/device/pointer.js +0 -81
- package/x/device/pointer.js.map +0 -1
- package/x/device/sampler.d.ts +0 -9
- package/x/device/sampler.js +0 -19
- package/x/device/sampler.js.map +0 -1
- package/x/device/stick.d.ts +0 -14
- package/x/device/stick.js +0 -22
- package/x/device/stick.js.map +0 -1
- package/x/index-ui.d.ts +0 -1
- package/x/index-ui.js +0 -2
- package/x/index-ui.js.map +0 -1
- package/x/index.d.ts +0 -27
- package/x/index.js +0 -28
- package/x/index.js.map +0 -1
- package/x/test.d.ts +0 -9
- package/x/test.js +0 -307
- package/x/test.js.map +0 -1
- package/x/ui/views/desk/style.css.d.ts +0 -2
- package/x/ui/views/desk/style.css.js +0 -69
- package/x/ui/views/desk/style.css.js.map +0 -1
- package/x/ui/views/desk/view.d.ts +0 -7
- package/x/ui/views/desk/view.js +0 -102
- package/x/ui/views/desk/view.js.map +0 -1
- package/x/utils/circular-clamp.d.ts +0 -2
- package/x/utils/circular-clamp.js +0 -8
- package/x/utils/circular-clamp.js.map +0 -1
- package/x/utils/do-async.d.ts +0 -1
- package/x/utils/do-async.js +0 -4
- package/x/utils/do-async.js.map +0 -1
- package/x/utils/evergreen.js.map +0 -1
- package/x/utils/freeze-clone.d.ts +0 -1
- package/x/utils/freeze-clone.js +0 -5
- package/x/utils/freeze-clone.js.map +0 -1
- package/x/utils/identifier.d.ts +0 -6
- package/x/utils/identifier.js +0 -25
- package/x/utils/identifier.js.map +0 -1
- package/x/utils/insert.d.ts +0 -1
- package/x/utils/insert.js +0 -5
- package/x/utils/insert.js.map +0 -1
- package/x/utils/is-down.js.map +0 -1
- package/x/utils/make-id.d.ts +0 -1
- package/x/utils/make-id.js +0 -5
- package/x/utils/make-id.js.map +0 -1
- package/x/utils/remap.d.ts +0 -1
- package/x/utils/remap.js +0 -6
- package/x/utils/remap.js.map +0 -1
- package/x/utils/shift-limit.d.ts +0 -2
- package/x/utils/shift-limit.js +0 -7
- package/x/utils/shift-limit.js.map +0 -1
- package/x/utils/sort-by-key.d.ts +0 -1
- package/x/utils/sort-by-key.js +0 -6
- package/x/utils/sort-by-key.js.map +0 -1
- package/x/utils/split-axis.js.map +0 -1
- package/x/utils/tmax.d.ts +0 -1
- package/x/utils/tmax.js +0 -6
- package/x/utils/tmax.js.map +0 -1
- package/x/utils/tmin.d.ts +0 -1
- package/x/utils/tmin.js +0 -6
- package/x/utils/tmin.js.map +0 -1
- /package/s/{core → _archive/core}/atom/defaults.ts +0 -0
- /package/s/{core → _archive/core}/atom/lens-algo.ts +0 -0
- /package/s/{core → _archive/core}/atom/types.ts +0 -0
- /package/s/{core → _archive/core}/bindings/normalize.ts +0 -0
- /package/s/{core → _archive/core}/bindings/shape.ts +0 -0
- /package/s/{core → _archive/core}/bindings/table.ts +0 -0
- /package/s/{core → _archive/core}/intent/bucket.ts +0 -0
- /package/s/{core → _archive/core}/intent/consts.ts +0 -0
- /package/s/{core → _archive/core}/intent/decode.ts +0 -0
- /package/s/{core → _archive/core}/intent/encode.ts +0 -0
- /package/s/{core → _archive/core}/intent/merge.ts +0 -0
- /package/s/{core → _archive/core}/parts/action.ts +0 -0
- /package/s/{core → _archive/core}/parts/sample-map.ts +0 -0
- /package/s/{core → _archive/core}/resolvers/actions.ts +0 -0
- /package/s/{core → _archive/core}/resolvers/intents.ts +0 -0
- /package/s/{core → _archive/core}/types.ts +0 -0
- /package/s/{deck → _archive/deck}/controller.ts +0 -0
- /package/s/{deck → _archive/deck}/parts/runtime.ts +0 -0
- /package/s/{deck → _archive/deck}/port.ts +0 -0
- /package/s/{deck → _archive/deck}/types.ts +0 -0
- /package/s/{device → _archive/device}/devices.ts +0 -0
- /package/s/{device → _archive/device}/gamepad.ts +0 -0
- /package/s/{device → _archive/device}/keyboard.ts +0 -0
- /package/s/{device → _archive/device}/pad/on-pad.ts +0 -0
- /package/s/{device → _archive/device}/pad/pad.ts +0 -0
- /package/s/{device → _archive/device}/sampler.ts +0 -0
- /package/s/{device → _archive/device}/stick.ts +0 -0
- /package/s/{index-ui.ts → _archive/index-ui.ts} +0 -0
- /package/s/{utils → _archive/lib/bindings/utils}/is-down.ts +0 -0
- /package/s/{utils → _archive/lib/utils}/evergreen.ts +0 -0
- /package/s/{utils → _archive/lib/utils}/split-axis.ts +0 -0
- /package/s/{test.ts → _archive/test.ts} +0 -0
- /package/s/{ui → _archive/ui}/views/desk/style.css.ts +0 -0
- /package/s/{ui → _archive/ui}/views/desk/view.ts +0 -0
- /package/s/{utils → _archive/utils}/do-async.ts +0 -0
- /package/s/{utils → _archive/utils}/freeze-clone.ts +0 -0
- /package/s/{utils → _archive/utils}/identifier.ts +0 -0
- /package/s/{utils → _archive/utils}/insert.ts +0 -0
- /package/s/{utils → _archive/utils}/make-id.ts +0 -0
- /package/s/{utils → _archive/utils}/remap.ts +0 -0
- /package/s/{utils → _archive/utils}/shift-limit.ts +0 -0
- /package/s/{utils → _archive/utils}/sort-by-key.ts +0 -0
- /package/s/{utils → _archive/utils}/tmax.ts +0 -0
- /package/s/{utils → _archive/utils}/tmin.ts +0 -0
- /package/x/{utils → lib/input/utils}/evergreen.d.ts +0 -0
- /package/x/{utils → lib/input/utils}/evergreen.js +0 -0
- /package/x/{utils → lib/input/utils}/is-down.d.ts +0 -0
- /package/x/{utils → lib/input/utils}/is-down.js +0 -0
- /package/x/{device → lib/input/utils}/pad/on-pad.d.ts +0 -0
- /package/x/{device → lib/input/utils}/pad/on-pad.js +0 -0
- /package/x/{device → lib/input/utils}/pad/pad.d.ts +0 -0
- /package/x/{device → lib/input/utils}/pad/pad.js +0 -0
- /package/x/{utils → lib/input/utils}/split-axis.d.ts +0 -0
- /package/x/{utils → lib/input/utils}/split-axis.js +0 -0
package/x/deck/types.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Bindings } from "../core/types.js";
|
|
2
|
-
export type ProfileKey = string;
|
|
3
|
-
export type ControllerHandle = string;
|
|
4
|
-
export type Profile = {
|
|
5
|
-
label: string;
|
|
6
|
-
bindings: Bindings;
|
|
7
|
-
};
|
|
8
|
-
export type DeckState = {
|
|
9
|
-
customProfiles: [key: ProfileKey, profile: Profile][];
|
|
10
|
-
profileAssignments: [handle: ControllerHandle, key: ProfileKey][];
|
|
11
|
-
};
|
package/x/deck/types.js
DELETED
package/x/deck/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../s/deck/types.ts"],"names":[],"mappings":""}
|
package/x/device/devices.d.ts
DELETED
package/x/device/devices.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SampleMap } from "../core/parts/sample-map.js";
|
|
2
|
-
export class Devices {
|
|
3
|
-
set = new Set();
|
|
4
|
-
#sampleMap = new SampleMap();
|
|
5
|
-
constructor(...devices) {
|
|
6
|
-
for (const device of devices)
|
|
7
|
-
this.set.add(device);
|
|
8
|
-
}
|
|
9
|
-
*samples() {
|
|
10
|
-
this.#sampleMap.zero();
|
|
11
|
-
for (const device of this.set)
|
|
12
|
-
for (const sample of device.samples())
|
|
13
|
-
this.#sampleMap.merge(sample);
|
|
14
|
-
yield* this.#sampleMap;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=devices.js.map
|
package/x/device/devices.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../s/device/devices.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAA;AAErD,MAAM,OAAO,OAAO;IACnB,GAAG,GAAG,IAAI,GAAG,EAAU,CAAA;IACvB,UAAU,GAAG,IAAI,SAAS,EAAE,CAAA;IAE5B,YAAY,GAAG,OAAiB;QAC/B,KAAK,MAAM,MAAM,IAAI,OAAO;YAC3B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACtB,CAAC;IAED,CAAC,OAAO;QACP,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA;QAEtB,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,GAAG;YAC5B,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE;gBACpC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAE/B,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAA;IACvB,CAAC;CACD"}
|
package/x/device/gamepad.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Pad } from "./pad/pad.js";
|
|
2
|
-
import { SamplerDevice } from "./sampler.js";
|
|
3
|
-
export declare class GamepadDevice extends SamplerDevice {
|
|
4
|
-
#private;
|
|
5
|
-
pad: Pad;
|
|
6
|
-
constructor(pad: Pad);
|
|
7
|
-
get gamepad(): Gamepad;
|
|
8
|
-
samples(): Generator<[string, number], void, unknown>;
|
|
9
|
-
}
|
package/x/device/gamepad.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SamplerDevice } from "./sampler.js";
|
|
2
|
-
import { splitAxis } from "../utils/split-axis.js";
|
|
3
|
-
export class GamepadDevice extends SamplerDevice {
|
|
4
|
-
pad;
|
|
5
|
-
constructor(pad) {
|
|
6
|
-
super();
|
|
7
|
-
this.pad = pad;
|
|
8
|
-
}
|
|
9
|
-
get gamepad() {
|
|
10
|
-
return this.pad.gamepad;
|
|
11
|
-
}
|
|
12
|
-
*samples() {
|
|
13
|
-
this.#pollButtons(this.pad.gamepad);
|
|
14
|
-
this.#pollSticks(this.pad.gamepad);
|
|
15
|
-
yield* super.samples();
|
|
16
|
-
}
|
|
17
|
-
#pollButtons(gamepad) {
|
|
18
|
-
let anyButtonValue = 0;
|
|
19
|
-
for (const [index, button] of gamepad.buttons.entries()) {
|
|
20
|
-
const i = index + 1;
|
|
21
|
-
const value = button.value;
|
|
22
|
-
anyButtonValue = Math.max(anyButtonValue, value);
|
|
23
|
-
this.setSample(`gamepad.button.${i}`, value);
|
|
24
|
-
}
|
|
25
|
-
this.setSample("gamepad.button.any", anyButtonValue);
|
|
26
|
-
}
|
|
27
|
-
#pollSticks(gamepad) {
|
|
28
|
-
for (const [index, axis] of gamepad.axes.entries()) {
|
|
29
|
-
const i = index + 1;
|
|
30
|
-
this.setSample(`gamepad.axis.${i}`, axis);
|
|
31
|
-
const [neg, pos] = splitAxis(axis);
|
|
32
|
-
this.setSample(`gamepad.axis.${i}.neg`, neg);
|
|
33
|
-
this.setSample(`gamepad.axis.${i}.pos`, pos);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=gamepad.js.map
|
package/x/device/gamepad.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gamepad.js","sourceRoot":"","sources":["../../s/device/gamepad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAEhD,MAAM,OAAO,aAAc,SAAQ,aAAa;IAC5B,GAAG;IAAtB,YAAmB,GAAQ;QAC1B,KAAK,EAAE,CAAA;mBADW,GAAG;IAEtB,CAAC;IAED,IAAI,OAAO;QACV,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAA;IACxB,CAAC;IAED,CAAC,OAAO;QACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QACnC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAClC,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,CAAA;IACvB,CAAC;IAED,YAAY,CAAC,OAAgB;QAC5B,IAAI,cAAc,GAAG,CAAC,CAAA;QACtB,KAAK,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;YACzD,MAAM,CAAC,GAAG,KAAK,GAAG,CAAC,CAAA;YACnB,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;YAC1B,cAAc,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;YAChD,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC;QACD,IAAI,CAAC,SAAS,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAA;IACrD,CAAC;IAED,WAAW,CAAC,OAAgB;QAC3B,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACpD,MAAM,CAAC,GAAG,KAAK,GAAG,CAAC,CAAA;YACnB,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;YACzC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,CAAA;YAClC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;YAC5C,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;QAC7C,CAAC;IACF,CAAC;CACD"}
|
package/x/device/keyboard.d.ts
DELETED
package/x/device/keyboard.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { disposer, ev } from "@e280/stz";
|
|
2
|
-
import { SamplerDevice } from "./sampler.js";
|
|
3
|
-
export class KeyboardDevice extends SamplerDevice {
|
|
4
|
-
dispose = disposer();
|
|
5
|
-
constructor(target = window) {
|
|
6
|
-
super();
|
|
7
|
-
this.dispose.schedule(ev(target, this.#targetListeners));
|
|
8
|
-
this.dispose.schedule(ev(window, this.#windowListeners));
|
|
9
|
-
}
|
|
10
|
-
#targetListeners = {
|
|
11
|
-
keydown: (event) => {
|
|
12
|
-
if (event.repeat)
|
|
13
|
-
return null;
|
|
14
|
-
this.setSample(event.code, 1);
|
|
15
|
-
this.setSample("keyboard.any", 1);
|
|
16
|
-
},
|
|
17
|
-
keyup: (event) => {
|
|
18
|
-
if (event.repeat)
|
|
19
|
-
return null;
|
|
20
|
-
this.setSample(event.code, 0);
|
|
21
|
-
this.setSample("keyboard.any", 0);
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
#windowListeners = {
|
|
25
|
-
blur: () => {
|
|
26
|
-
this.zero();
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=keyboard.js.map
|
package/x/device/keyboard.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.js","sourceRoot":"","sources":["../../s/device/keyboard.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAE,EAAE,EAAC,MAAM,WAAW,CAAA;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAA;AAE1C,MAAM,OAAO,cAAe,SAAQ,aAAa;IAChD,OAAO,GAAG,QAAQ,EAAE,CAAA;IAEpB,YAAY,MAAM,GAAgB,MAAM;QACvC,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;QACxD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACzD,CAAC;IAED,gBAAgB,GAAG;QAClB,OAAO,EAAE,CAAC,KAAoB,EAAE,EAAE;YACjC,IAAI,KAAK,CAAC,MAAM;gBAAE,OAAO,IAAI,CAAA;YAC7B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;YAC7B,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;QAClC,CAAC;QACD,KAAK,EAAE,CAAC,KAAoB,EAAE,EAAE;YAC/B,IAAI,KAAK,CAAC,MAAM;gBAAE,OAAO,IAAI,CAAA;YAC7B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;YAC7B,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;QAClC,CAAC;KACD,CAAA;IAED,gBAAgB,GAAG;QAClB,IAAI,EAAE,GAAG,EAAE;YACV,IAAI,CAAC,IAAI,EAAE,CAAA;QACZ,CAAC;KACD,CAAA;CACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"on-pad.js","sourceRoot":"","sources":["../../../s/device/pad/on-pad.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,EAAE,EAAC,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAA;AAC5B,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAElD,2CAA2C;AAC3C,MAAM,UAAU,KAAK,CAAC,EAA4B;IACjD,MAAM,KAAK,GAAG,IAAI,GAAG,EAA2C,CAAA;IAEhE,SAAS,OAAO;QACf,MAAM,EAAE,CAAA;QACR,SAAS,EAAE,CAAA;IACZ,CAAC;IAED,SAAS,MAAM;QACd,KAAK,MAAM,OAAO,IAAI,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;YAC/C,IAAI,OAAO,EAAE,SAAS,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACrD,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;gBACxD,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAA;gBAC5C,MAAM,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;gBACvB,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,EAAC,GAAG,EAAE,OAAO,EAAC,CAAC,CAAA;YACzC,CAAC;QACF,CAAC;IACF,CAAC;IAED,SAAS,SAAS;QACjB,KAAK,MAAM,CAAC,KAAK,EAAE,EAAC,GAAG,EAAE,OAAO,EAAC,CAAC,IAAI,KAAK,EAAE,CAAC;YAC7C,MAAM,OAAO,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;YAC1D,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,CAAC;gBACzB,OAAO,EAAE,CAAA;gBACT,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YACpB,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,EAAE,CAAA;IAET,MAAM,QAAQ,GAAG,EAAE,CAAC,MAAM,EAAE;QAC3B,gBAAgB,EAAE,OAAO;QACzB,mBAAmB,EAAE,OAAO;KAC5B,CAAC,CAAA;IAEF,OAAO,GAAG,EAAE;QACX,QAAQ,EAAE,CAAA;QACV,KAAK,MAAM,EAAC,OAAO,EAAC,IAAI,KAAK,CAAC,MAAM,EAAE;YACrC,OAAO,EAAE,CAAA;QACV,KAAK,CAAC,KAAK,EAAE,CAAA;IACd,CAAC,CAAA;AACF,CAAC"}
|
package/x/device/pad/pad.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pad.js","sourceRoot":"","sources":["../../../s/device/pad/pad.ts"],"names":[],"mappings":"AACA,qFAAqF;AACrF,MAAM,OAAO,GAAG;IACK,GAAG;IAAvB,YAAoB,GAAkB;mBAAlB,GAAG;IAAkB,CAAC;IAE1C,IAAI,OAAO;QACV,OAAO,IAAI,CAAC,GAAG,EAAE,CAAA;IAClB,CAAC;CACD"}
|
package/x/device/pointer.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Vec2 } from "@benev/math";
|
|
2
|
-
import { SamplerDevice } from "./sampler.js";
|
|
3
|
-
export declare class PointerDevice extends SamplerDevice {
|
|
4
|
-
#private;
|
|
5
|
-
client: Vec2;
|
|
6
|
-
movement: Vec2;
|
|
7
|
-
dispose: import("@e280/stz").Disposer;
|
|
8
|
-
constructor(target?: EventTarget);
|
|
9
|
-
static buttonCode(event: PointerEvent): string;
|
|
10
|
-
static wheelCodes(event: WheelEvent): [string, number][];
|
|
11
|
-
samples(): Generator<[string, number], void, unknown>;
|
|
12
|
-
}
|
package/x/device/pointer.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Vec2 } from "@benev/math";
|
|
2
|
-
import { disposer, ev } from "@e280/stz";
|
|
3
|
-
import { SamplerDevice } from "./sampler.js";
|
|
4
|
-
import { splitAxis } from "../utils/split-axis.js";
|
|
5
|
-
export class PointerDevice extends SamplerDevice {
|
|
6
|
-
client = new Vec2(0, 0);
|
|
7
|
-
movement = new Vec2(0, 0);
|
|
8
|
-
dispose = disposer();
|
|
9
|
-
constructor(target = window) {
|
|
10
|
-
super();
|
|
11
|
-
this.dispose.schedule(ev(target, {
|
|
12
|
-
pointerdown: (event) => {
|
|
13
|
-
const code = PointerDevice.buttonCode(event);
|
|
14
|
-
this.setSample(code, 1);
|
|
15
|
-
},
|
|
16
|
-
pointerup: (event) => {
|
|
17
|
-
const code = PointerDevice.buttonCode(event);
|
|
18
|
-
this.setSample(code, 0);
|
|
19
|
-
},
|
|
20
|
-
pointermove: (event) => {
|
|
21
|
-
this.client.x = event.clientX;
|
|
22
|
-
this.client.y = event.clientY;
|
|
23
|
-
this.movement.x += event.movementX;
|
|
24
|
-
this.movement.y += event.movementY;
|
|
25
|
-
},
|
|
26
|
-
wheel: (event) => {
|
|
27
|
-
this.sampleMap.set("pointer.wheel.right", 0);
|
|
28
|
-
this.sampleMap.set("pointer.wheel.left", 0);
|
|
29
|
-
this.sampleMap.set("pointer.wheel.up", 0);
|
|
30
|
-
this.sampleMap.set("pointer.wheel.down", 0);
|
|
31
|
-
for (const [code, value] of PointerDevice.wheelCodes(event))
|
|
32
|
-
this.setSample(code, value);
|
|
33
|
-
},
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
static buttonCode(event) {
|
|
37
|
-
switch (event.button) {
|
|
38
|
-
case 0: return "pointer.button.left";
|
|
39
|
-
case 1: return "pointer.button.middle";
|
|
40
|
-
case 2: return "pointer.button.right";
|
|
41
|
-
default: return `pointer.button.${event.button + 1}`;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
static wheelCodes(event) {
|
|
45
|
-
const movements = [];
|
|
46
|
-
if (event.deltaX)
|
|
47
|
-
movements.push([
|
|
48
|
-
event.deltaX > 0 ? "pointer.wheel.right" : "pointer.wheel.left",
|
|
49
|
-
event.deltaX,
|
|
50
|
-
]);
|
|
51
|
-
if (event.deltaY)
|
|
52
|
-
movements.push([
|
|
53
|
-
event.deltaY > 0 ? "pointer.wheel.down" : "pointer.wheel.up",
|
|
54
|
-
event.deltaY,
|
|
55
|
-
]);
|
|
56
|
-
return movements;
|
|
57
|
-
}
|
|
58
|
-
*samples() {
|
|
59
|
-
this.#specialPreProcessing();
|
|
60
|
-
yield* super.samples();
|
|
61
|
-
}
|
|
62
|
-
#specialPreProcessing() {
|
|
63
|
-
const [x, y] = this.movement;
|
|
64
|
-
const [left, right] = splitAxis(x);
|
|
65
|
-
const [down, up] = splitAxis(y);
|
|
66
|
-
if (x) {
|
|
67
|
-
if (x >= 0)
|
|
68
|
-
this.setSample(`pointer.move.right`, Math.abs(right));
|
|
69
|
-
else
|
|
70
|
-
this.setSample(`pointer.move.left`, Math.abs(left));
|
|
71
|
-
}
|
|
72
|
-
if (y) {
|
|
73
|
-
if (y >= 0)
|
|
74
|
-
this.setSample(`pointer.move.up`, Math.abs(up));
|
|
75
|
-
else
|
|
76
|
-
this.setSample(`pointer.move.down`, Math.abs(down));
|
|
77
|
-
}
|
|
78
|
-
this.movement.set_(0, 0);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
//# sourceMappingURL=pointer.js.map
|
package/x/device/pointer.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pointer.js","sourceRoot":"","sources":["../../s/device/pointer.ts"],"names":[],"mappings":"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"}
|
package/x/device/sampler.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Device, Sample } from "../core/types.js";
|
|
2
|
-
import { SampleMap } from "../core/parts/sample-map.js";
|
|
3
|
-
export declare class SamplerDevice implements Device {
|
|
4
|
-
on: import("@e280/stz").Sub<Sample>;
|
|
5
|
-
sampleMap: SampleMap;
|
|
6
|
-
setSample(code: string, value: number): this;
|
|
7
|
-
zero(): void;
|
|
8
|
-
samples(): Generator<[string, number], void, unknown>;
|
|
9
|
-
}
|
package/x/device/sampler.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { sub } from "@e280/stz";
|
|
2
|
-
import { SampleMap } from "../core/parts/sample-map.js";
|
|
3
|
-
export class SamplerDevice {
|
|
4
|
-
on = sub();
|
|
5
|
-
sampleMap = new SampleMap();
|
|
6
|
-
setSample(code, value) {
|
|
7
|
-
this.sampleMap.set(code, value);
|
|
8
|
-
this.on.pub(code, value);
|
|
9
|
-
return this;
|
|
10
|
-
}
|
|
11
|
-
zero() {
|
|
12
|
-
for (const code of this.sampleMap.keys())
|
|
13
|
-
this.setSample(code, 0);
|
|
14
|
-
}
|
|
15
|
-
*samples() {
|
|
16
|
-
yield* this.sampleMap;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=sampler.js.map
|
package/x/device/sampler.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampler.js","sourceRoot":"","sources":["../../s/device/sampler.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAA;AAE7B,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAA;AAErD,MAAM,OAAO,aAAa;IACzB,EAAE,GAAG,GAAG,EAAU,CAAA;IAClB,SAAS,GAAG,IAAI,SAAS,EAAE,CAAA;IAE3B,SAAS,CAAC,IAAY,EAAE,KAAa;QACpC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QAC/B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QACxB,OAAO,IAAI,CAAA;IACZ,CAAC;IAED,IAAI;QACH,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACzB,CAAC;IAED,CAAC,OAAO;QACP,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAA;IACtB,CAAC;CACD"}
|
package/x/device/stick.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Vec2 } from "@benev/math";
|
|
2
|
-
import { Device, Sample } from "../core/types.js";
|
|
3
|
-
export declare class StickDevice implements Device {
|
|
4
|
-
channel: string;
|
|
5
|
-
$vector: import("@e280/strata").Signal<Vec2>;
|
|
6
|
-
$breakdown: import("@e280/strata").Derived<{
|
|
7
|
-
up: number;
|
|
8
|
-
down: number;
|
|
9
|
-
left: number;
|
|
10
|
-
right: number;
|
|
11
|
-
}>;
|
|
12
|
-
constructor(channel?: string);
|
|
13
|
-
samples(): Sample[];
|
|
14
|
-
}
|
package/x/device/stick.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Vec2 } from "@benev/math";
|
|
2
|
-
import { derived, signal } from "@e280/strata";
|
|
3
|
-
import { splitVector } from "../utils/split-axis.js";
|
|
4
|
-
export class StickDevice {
|
|
5
|
-
channel;
|
|
6
|
-
$vector = signal(Vec2.zero());
|
|
7
|
-
$breakdown = derived(() => splitVector(this.$vector()));
|
|
8
|
-
constructor(channel = "stick") {
|
|
9
|
-
this.channel = channel;
|
|
10
|
-
}
|
|
11
|
-
samples() {
|
|
12
|
-
const { channel } = this;
|
|
13
|
-
const { up, down, left, right } = this.$breakdown();
|
|
14
|
-
return [
|
|
15
|
-
[`${channel}.up`, up],
|
|
16
|
-
[`${channel}.down`, down],
|
|
17
|
-
[`${channel}.left`, left],
|
|
18
|
-
[`${channel}.right`, right],
|
|
19
|
-
];
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=stick.js.map
|
package/x/device/stick.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stick.js","sourceRoot":"","sources":["../../s/device/stick.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAA;AAChC,OAAO,EAAC,OAAO,EAAE,MAAM,EAAC,MAAM,cAAc,CAAA;AAE5C,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAA;AAElD,MAAM,OAAO,WAAW;IAIJ,OAAO;IAH1B,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IAC7B,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;IAEvD,YAAmB,OAAO,GAAG,OAAO;uBAAjB,OAAO;IAAa,CAAC;IAExC,OAAO;QACN,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAA;QACtB,MAAM,EAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,GAAG,IAAI,CAAC,UAAU,EAAE,CAAA;QACjD,OAAO;YACN,CAAC,GAAG,OAAO,KAAK,EAAE,EAAE,CAAC;YACrB,CAAC,GAAG,OAAO,OAAO,EAAE,IAAI,CAAC;YACzB,CAAC,GAAG,OAAO,OAAO,EAAE,IAAI,CAAC;YACzB,CAAC,GAAG,OAAO,QAAQ,EAAE,KAAK,CAAC;SACf,CAAA;IACd,CAAC;CACD"}
|
package/x/index-ui.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ui/views/desk/view.js";
|
package/x/index-ui.js
DELETED
package/x/index-ui.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-ui.js","sourceRoot":"","sources":["../s/index-ui.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAA"}
|
package/x/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export * from "./core/atom/types.js";
|
|
2
|
-
export * from "./core/bindings/normalize.js";
|
|
3
|
-
export * from "./core/bindings/shape.js";
|
|
4
|
-
export * from "./core/bindings/table.js";
|
|
5
|
-
export * from "./core/intent/bucket.js";
|
|
6
|
-
export * from "./core/intent/decode.js";
|
|
7
|
-
export * from "./core/intent/encode.js";
|
|
8
|
-
export * from "./core/intent/merge.js";
|
|
9
|
-
export * from "./core/parts/action.js";
|
|
10
|
-
export * from "./core/parts/sample-map.js";
|
|
11
|
-
export * from "./core/resolvers/actions.js";
|
|
12
|
-
export * from "./core/resolvers/intents.js";
|
|
13
|
-
export * from "./core/types.js";
|
|
14
|
-
export * from "./device/pad/pad.js";
|
|
15
|
-
export * from "./device/pad/on-pad.js";
|
|
16
|
-
export * from "./device/devices.js";
|
|
17
|
-
export * from "./device/gamepad.js";
|
|
18
|
-
export * from "./device/keyboard.js";
|
|
19
|
-
export * from "./device/pointer.js";
|
|
20
|
-
export * from "./device/sampler.js";
|
|
21
|
-
export * from "./device/stick.js";
|
|
22
|
-
export * from "./deck/parts/profiles.js";
|
|
23
|
-
export * from "./deck/parts/settings.js";
|
|
24
|
-
export * from "./deck/controller.js";
|
|
25
|
-
export * from "./deck/deck.js";
|
|
26
|
-
export * from "./deck/port.js";
|
|
27
|
-
export * from "./deck/types.js";
|
package/x/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export * from "./core/atom/types.js";
|
|
2
|
-
export * from "./core/bindings/normalize.js";
|
|
3
|
-
export * from "./core/bindings/shape.js";
|
|
4
|
-
export * from "./core/bindings/table.js";
|
|
5
|
-
export * from "./core/intent/bucket.js";
|
|
6
|
-
export * from "./core/intent/decode.js";
|
|
7
|
-
export * from "./core/intent/encode.js";
|
|
8
|
-
export * from "./core/intent/merge.js";
|
|
9
|
-
export * from "./core/parts/action.js";
|
|
10
|
-
export * from "./core/parts/sample-map.js";
|
|
11
|
-
export * from "./core/resolvers/actions.js";
|
|
12
|
-
export * from "./core/resolvers/intents.js";
|
|
13
|
-
export * from "./core/types.js";
|
|
14
|
-
export * from "./device/pad/pad.js";
|
|
15
|
-
export * from "./device/pad/on-pad.js";
|
|
16
|
-
export * from "./device/devices.js";
|
|
17
|
-
export * from "./device/gamepad.js";
|
|
18
|
-
export * from "./device/keyboard.js";
|
|
19
|
-
export * from "./device/pointer.js";
|
|
20
|
-
export * from "./device/sampler.js";
|
|
21
|
-
export * from "./device/stick.js";
|
|
22
|
-
export * from "./deck/parts/profiles.js";
|
|
23
|
-
export * from "./deck/parts/settings.js";
|
|
24
|
-
export * from "./deck/controller.js";
|
|
25
|
-
export * from "./deck/deck.js";
|
|
26
|
-
export * from "./deck/port.js";
|
|
27
|
-
export * from "./deck/types.js";
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
package/x/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../s/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iBAAiB,CAAA;AAE/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA"}
|