Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2017년 3월.
* Some parts of this feature may have varying levels of support.
게임패드 API는 게임패드와 다른 게임 제어장치의 신호에 쉬운 일관된 방식으로 접근하고 응답하는 개발자들을 위한 수단이다. 게임패드 API는 세 가지 인터페이스와연결, 연결 해제되고 게임 패드 자체에 대한 다른 정보에 접근하고 어떤 버튼과 다른 조작 장치들이 현재 눌린 것에 응답하는 두 가지 이벤트 그리고 한 가지 특수 기능이 포함되어 있다.
컴퓨터에 연결된 게임패드나 조작장치를 표현한다.
GamepadButton연결된 조작장치들 중 하나에 있는 버튼을 표현한다.
GamepadEvent게임 패드와 연관된 이벤트를 나타내는 이벤트 객체이다.
Represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
GamepadPoseRepresents the pose of a controller (e.g. position and orientation in 3D space) in the case of a WebVR controller.
다음 정보를엑세스할 수 있는 게임패드 인터페이스 확장기능 더보기
An extension to the Navigator object that returns an array of Gamepad objects, one for each connected gamepad.
Represents an event handler that will run when a gamepad is connected (when the gamepadconnected event fires).
Window.ongamepaddisconnectedRepresents an event handler that will run when a gamepad is disconnected (when the gamepaddisconnected event fires).
| Gamepad # gamepad-interface |
| Gamepad Extensions # partial-gamepad-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2024년 9월 8일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.