Skip to content

Commit

Permalink
Merge pull request #147 from vircadia/master
Browse files Browse the repository at this point in the history
Bring `engine` branch up to speed with `master`.
  • Loading branch information
Gigabyte5671 authored Mar 10, 2023
2 parents 8b87096 + 0786a34 commit 3546b48
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/learnaverse_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# Allows this workflow to be run manually from the Actions tab.
workflow_dispatch:

name: 🚀 Auto-Deploy
name: 🚀 Auto-Deploy (Learnaverse)
jobs:
web-deploy:
name: 🎉 Deploy
Expand All @@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 16.x

- name: 📥 Install project dependencies
run: npm install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 16.x

- name: 📥 Install project dependencies
run: npm install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr_to_master_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 16.x

- name: 📥 Install project dependencies
run: npm install
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ua92_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# Allows this workflow to be run manually from the Actions tab.
workflow_dispatch:

name: 🚀 Auto-Deploy
name: 🚀 Auto-Deploy (UA92)
jobs:
web-deploy:
name: 🎉 Deploy
Expand All @@ -27,6 +27,8 @@ jobs:
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 16.x

- name: 📥 Install project dependencies
run: npm install
Expand Down
10 changes: 5 additions & 5 deletions src/modules/avatar/controller/inputs/keyboardInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class KeyboardInput implements IInputHandler {
}

// Sit.
if (evt.sourceEvent.code === Store.state.controls.movement.sit?.keybind) {
if (evt.sourceEvent.code === Store.state.controls.keyboard.movement.sit?.keybind) {
const sitDistanceLimit = 1.5;

// Get the player's avatar mesh.
Expand Down Expand Up @@ -242,13 +242,13 @@ export class KeyboardInput implements IInputHandler {
}

// Clap.
if (evt.sourceEvent.code === Store.state.controls.movement.clap?.keybind) {
if (evt.sourceEvent.code === Store.state.controls.keyboard.movement.clap?.keybind) {
this._state.state = State.Pose;
this._state.action = Action.Clap;
}

// Salute.
if (evt.sourceEvent.code === Store.state.controls.movement.salute?.keybind) {
if (evt.sourceEvent.code === Store.state.controls.keyboard.movement.salute?.keybind) {
this._state.state = State.Pose;
this._state.action = Action.Salute;
}
Expand Down Expand Up @@ -286,7 +286,7 @@ export class KeyboardInput implements IInputHandler {

// Clap.
if (
evt.sourceEvent.code === Store.state.controls.movement.clap?.keybind
evt.sourceEvent.code === Store.state.controls.keyboard.movement.clap?.keybind
&& this._state.state === State.Pose
&& this._state.action === Action.Clap
) {
Expand All @@ -296,7 +296,7 @@ export class KeyboardInput implements IInputHandler {

// Salute.
if (
evt.sourceEvent.code === Store.state.controls.movement.salute?.keybind
evt.sourceEvent.code === Store.state.controls.keyboard.movement.salute?.keybind
&& this._state.state === State.Pose
&& this._state.action === Action.Salute
) {
Expand Down

0 comments on commit 3546b48

Please sign in to comment.