@quenty/settings-inputkeymap 5.0.0 → 6.0.1-canary.444.4f02c27.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.0.1-canary.444.4f02c27.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@6.0.0...@quenty/settings-inputkeymap@6.0.1-canary.444.4f02c27.0) (2024-02-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix bootstrap of test environments and loader samples ([441e4a9](https://github.com/Quenty/NevermoreEngine/commit/441e4a90d19fcc203da2fdedc08e532c20d52f99))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [6.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@5.0.0...@quenty/settings-inputkeymap@6.0.0) (2024-02-13)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @quenty/settings-inputkeymap
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@4.8.0...@quenty/settings-inputkeymap@5.0.0) (2024-01-10)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @quenty/settings-inputkeymap
|
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2024 James Onnen (Quenty)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/settings-inputkeymap",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1-canary.444.4f02c27.0",
|
|
4
4
|
"description": "Input key map setting saving for players",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/baseobject": "
|
|
32
|
-
"@quenty/enumutils": "
|
|
33
|
-
"@quenty/inputkeymaputils": "
|
|
34
|
-
"@quenty/inputmode": "
|
|
35
|
-
"@quenty/jsonutils": "
|
|
36
|
-
"@quenty/loader": "
|
|
37
|
-
"@quenty/maid": "
|
|
38
|
-
"@quenty/servicebag": "
|
|
39
|
-
"@quenty/settings": "
|
|
40
|
-
"@quenty/string": "
|
|
41
|
-
"@quenty/table": "
|
|
31
|
+
"@quenty/baseobject": "8.0.1-canary.444.4f02c27.0",
|
|
32
|
+
"@quenty/enumutils": "3.1.0",
|
|
33
|
+
"@quenty/inputkeymaputils": "10.0.1-canary.444.4f02c27.0",
|
|
34
|
+
"@quenty/inputmode": "10.0.1-canary.444.4f02c27.0",
|
|
35
|
+
"@quenty/jsonutils": "8.0.1-canary.444.4f02c27.0",
|
|
36
|
+
"@quenty/loader": "8.0.1-canary.444.4f02c27.0",
|
|
37
|
+
"@quenty/maid": "3.0.0",
|
|
38
|
+
"@quenty/servicebag": "9.0.1-canary.444.4f02c27.0",
|
|
39
|
+
"@quenty/settings": "7.0.1-canary.444.4f02c27.0",
|
|
40
|
+
"@quenty/string": "3.1.0",
|
|
41
|
+
"@quenty/table": "3.4.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "4f02c27e96314724c58778e8c113c0d362e16ae4"
|
|
44
44
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
@class ClientMain
|
|
3
3
|
]]
|
|
4
|
-
local
|
|
4
|
+
local loader = game:GetService("ReplicatedStorage"):WaitForChild("settings-inputkeymap"):WaitForChild("loader")
|
|
5
|
+
local require = require(loader).bootstrapGame(loader.Parent)
|
|
5
6
|
|
|
6
|
-
local serviceBag = require(
|
|
7
|
-
serviceBag:GetService(
|
|
8
|
-
|
|
9
|
-
-- Start game
|
|
7
|
+
local serviceBag = require("ServiceBag").new()
|
|
8
|
+
serviceBag:GetService(require("SettingsInputKeyMapServiceClient"))
|
|
10
9
|
serviceBag:Init()
|
|
11
10
|
serviceBag:Start()
|
|
12
11
|
|
|
13
|
-
local InputKeyMapList = require(
|
|
14
|
-
local InputModeTypes = require(
|
|
15
|
-
local InputKeyMap = require(
|
|
16
|
-
local SlottedTouchButtonUtils = require(
|
|
12
|
+
local InputKeyMapList = require("InputKeyMapList")
|
|
13
|
+
local InputModeTypes = require("InputModeTypes")
|
|
14
|
+
local InputKeyMap = require("InputKeyMap")
|
|
15
|
+
local SlottedTouchButtonUtils = require("SlottedTouchButtonUtils")
|
|
17
16
|
|
|
18
17
|
local inputKeyMapList = InputKeyMapList.new("JUMP", {
|
|
19
18
|
InputKeyMap.new(InputModeTypes.KeyboardAndMouse, { Enum.KeyCode.Q });
|
|
@@ -24,4 +23,4 @@ local inputKeyMapList = InputKeyMapList.new("JUMP", {
|
|
|
24
23
|
rebindable = true;
|
|
25
24
|
})
|
|
26
25
|
|
|
27
|
-
serviceBag:GetService(
|
|
26
|
+
serviceBag:GetService(require("SettingsInputKeyMapServiceClient")):AddInputKeyMapList(inputKeyMapList)
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
local ServerScriptService = game:GetService("ServerScriptService")
|
|
5
5
|
|
|
6
6
|
local loader = ServerScriptService:FindFirstChild("LoaderUtils", true).Parent
|
|
7
|
-
local
|
|
7
|
+
local require = require(loader).bootstrapGame(ServerScriptService["settings-inputkeymap"])
|
|
8
8
|
|
|
9
|
-
local serviceBag = require(
|
|
10
|
-
serviceBag:GetService(
|
|
11
|
-
|
|
12
|
-
-- Start game
|
|
9
|
+
local serviceBag = require("ServiceBag").new()
|
|
10
|
+
serviceBag:GetService(require("SettingsInputKeyMapService"))
|
|
13
11
|
serviceBag:Init()
|
|
14
12
|
serviceBag:Start()
|