Skip to content

Commit 4208471

Browse files
author
lijiahao
committed
fix login issue
1 parent e0932ee commit 4208471

6 files changed

Lines changed: 48 additions & 27 deletions

File tree

app/background.js

Lines changed: 23 additions & 12 deletions
Large diffs are not rendered by default.

app/preload.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main/xal/xal.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,6 @@ export default class Xal {
354354
const payload = {
355355
Properties: {
356356
SandboxId: 'RETAIL',
357-
DeviceToken: sisuToken.data.DeviceToken,
358-
TitleToken: sisuToken.data.TitleToken.Token,
359357
UserTokens: [sisuToken.data.UserToken.Token]
360358
},
361359
RelyingParty: relyingParty,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "xstreaming",
44
"description": "xstreaming",
5-
"version": "1.9.2",
5+
"version": "1.9.3",
66
"author": "Geocld <lijiahao5372@gmail.com>",
77
"main": "app/background.js",
88
"scripts": {

renderer/components/TitleModal.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ function TitleModal(props) {
2020
const titleItem = props.title || {};
2121

2222
const handleClose = () => {
23-
console.log("handleClose");
2423
props.onClose && props.onClose();
2524
};
2625

2726
const handleStartGame = () => {
2827
// console.log("titleItem:", titleItem);
2928
const titleId = titleItem.titleId || titleItem.XCloudTitleId;
30-
console.log("titleId:", titleId)
29+
// console.log("titleId:", titleId)
3130
router.push({
3231
pathname: `/${locale}/stream`,
3332
query: { serverid: XCLOUD_PREFIX + titleId }
@@ -49,7 +48,7 @@ function TitleModal(props) {
4948
return (
5049
<Modal
5150
isOpen={true}
52-
size="full"
51+
size="5xl"
5352
scrollBehavior="inside"
5453
onClose={handleClose}
5554
>

renderer/context/userContext.defaults.ts

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,32 @@ export const defaultSettings = {
4141
ArrowDown: 'DPadDown',
4242

4343
Enter: 'A',
44-
a: 'A',
44+
k: 'A',
4545

4646
Backspace: 'B',
47-
b: 'B',
47+
l: 'B',
4848

49-
x: 'X',
50-
y: 'Y',
49+
j: 'X',
50+
i: 'Y',
5151

52-
'[': 'LeftShoulder',
53-
']': 'RightShoulder',
52+
'2': 'LeftShoulder',
53+
'3': 'RightShoulder',
5454

55-
'-': 'LeftTrigger',
56-
'=': 'RightTrigger',
55+
'1': 'LeftTrigger',
56+
'4': 'RightTrigger',
57+
58+
'5': 'LeftThumb',
59+
'6': 'RightThumb',
60+
61+
'a': 'LeftThumbXAxisPlus',
62+
'd': 'LeftThumbXAxisMinus',
63+
'w': 'LeftThumbYAxisPlus',
64+
's': 'LeftThumbYAxisMinus',
65+
66+
'f': 'RightThumbXAxisPlus',
67+
'h': 'RightThumbXAxisMinus',
68+
't': 'RightThumbYAxisPlus',
69+
'g': 'RightThumbYAxisMinus',
5770

5871
v: 'View',
5972
m: 'Menu',

0 commit comments

Comments
 (0)