├── .eslintrc.js ├── .gitattributes ├── .github ├── README.md ├── actions │ └── build │ │ └── action.yml └── workflows │ ├── build.yml │ ├── codeql-analysis.yml │ ├── pages.yml │ └── publish.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── jest.config.ts ├── package.json ├── packages ├── pointer-lock-movement-example │ ├── README.md │ ├── hooks │ │ └── useEvent.ts │ ├── index.html │ ├── package.json │ ├── pages │ │ ├── $.mdx │ │ ├── _theme.tsx │ │ ├── assets │ │ │ └── magnifying-glass.png │ │ ├── inputNumber$.tsx │ │ ├── inputNumber.scss │ │ ├── inputNumber2$.tsx │ │ ├── layout.scss │ │ ├── magnifyingGlass$.tsx │ │ └── magnifyingGlass.scss │ └── vite.config.ts └── pointer-lock-movement │ ├── README.md │ ├── package.json │ └── src │ ├── index.ts │ ├── pointer-lock-movement.ts │ ├── shim.d.ts │ └── utils │ ├── requestCursor.ts │ └── requestScreen.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/README.md -------------------------------------------------------------------------------- /.github/actions/build/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/actions/build/action.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/workflows/pages.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/LICENSE -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/package.json -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/README.md: -------------------------------------------------------------------------------- 1 | ../pointer-lock-movement/README.md -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/hooks/useEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/hooks/useEvent.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/index.html -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/package.json -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/$.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/$.mdx -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/_theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/_theme.tsx -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/assets/magnifying-glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/assets/magnifying-glass.png -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/inputNumber$.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/inputNumber$.tsx -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/inputNumber.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/inputNumber.scss -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/inputNumber2$.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/inputNumber2$.tsx -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/layout.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/layout.scss -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/magnifyingGlass$.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/magnifyingGlass$.tsx -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/pages/magnifyingGlass.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/pages/magnifyingGlass.scss -------------------------------------------------------------------------------- /packages/pointer-lock-movement-example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement-example/vite.config.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/README.md -------------------------------------------------------------------------------- /packages/pointer-lock-movement/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/package.json -------------------------------------------------------------------------------- /packages/pointer-lock-movement/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/src/index.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement/src/pointer-lock-movement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/src/pointer-lock-movement.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement/src/shim.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/src/shim.d.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement/src/utils/requestCursor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/src/utils/requestCursor.ts -------------------------------------------------------------------------------- /packages/pointer-lock-movement/src/utils/requestScreen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/packages/pointer-lock-movement/src/utils/requestScreen.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zheeeng/pointer-lock-movement/HEAD/tsconfig.json --------------------------------------------------------------------------------