UNPKG
aframe-extras
Version:
latest (7.6.1)
7.6.1
7.6.0
7.5.4
7.5.3
7.5.2
7.5.1
7.5.0
7.4.0
7.3.1
7.3.0
7.2.0
7.1.0
7.0.0
6.1.1
6.1.0
6.0.1
6.0.0
5.1.0
5.0.1
5.0.0
4.2.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.3
4.0.2
4.0.1
4.0.0
3.13.1
3.13.0
3.12.4
3.12.3
3.12.2
3.12.1
3.12.0
3.11.4
3.11.3
3.11.2
3.11.1
3.11.0
3.10.1
3.10.0
3.9.1
3.9.0
3.8.6
3.8.5
3.8.4
3.8.3
3.8.2
3.8.1
3.8.0
3.7.0
3.6.2
3.6.1
3.6.0
3.5.0
3.4.0
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.1
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.0
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.17.0
1.16.3
1.16.2
1.16.1
1.16.0
1.15.2
1.15.1
1.15.0
1.14.1
1.14.0
1.13.0
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.1
1.11.0
1.10.0
1.9.1
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
Add-ons and examples for A-Frame VR.
github.com/c-frame/aframe-extras
c-frame/aframe-extras
aframe-extras
/
lib
/
GamepadButtonEvent.js
9 lines
(7 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
function
GamepadButtonEvent
(
type
, index, details
) {
this
.
type
=
type
;
this
.
index
= index;
this
.
pressed
= details.
pressed
;
this
.
value
= details.
value
; }
export
default
GamepadButtonEvent
;