typofix
This commit is contained in:
parent
46a61279db
commit
d4bddd7d38
2 changed files with 29 additions and 24 deletions
21
README.md
21
README.md
|
|
@ -94,18 +94,19 @@ a Linux ISO image (via WASM).
|
||||||
> depends on [AFRAME.utils.require](com/require.js)
|
> depends on [AFRAME.utils.require](com/require.js)
|
||||||
|
|
||||||
| property | type | default | info |
|
| property | type | default | info |
|
||||||
|------------------|-----------|------------------------|------|
|
|-------------------|-----------|------------------------|------|
|
||||||
| `iso` | `string` | https`//forgejo.isvery.ninja/assets/xrsh-buildroot/main/xrsh.iso" | |
|
| `iso` | `string` | https`//forgejo.isvery.ninja/assets/xrsh-buildroot/main/xrsh.iso" | |
|
||||||
| `overlayfs` | `string` | *WORK-IN-PROGRESS* | |
|
| `overlayfs` | `string` | '' | zip URL/file to autoextract on top of filesystem |
|
||||||
| `width` | `number` | 800 ||
|
| `width` | `number` | 800 ||
|
||||||
| `height` | `number` | 600 ||
|
| `height` | `number` | 600 ||
|
||||||
| `depth` | `number` | 0.03 ||
|
| `depth` | `number` | 0.03 ||
|
||||||
| `lineHeight` | `number` | 18 ||
|
| `lineHeight` | `number` | 18 ||
|
||||||
| `bootmenu` | `boolean` | true | give user choice [or boot straight into ISO ] |
|
| `bootMenu` | `string` | "" | character to auto-enter in bootMenu |
|
||||||
| `padding` | `number`` | 18 | |
|
| `bootMenuURL` | `string` | "" | character to auto-enter in bootMenu when URL has fragment (#foo.zip e.g.) |
|
||||||
|
| `padding` | `number` | 18 | |
|
||||||
| `maximized` | `boolean` | false | |
|
| `maximized` | `boolean` | false | |
|
||||||
| `minimized` | `boolean` | false | |
|
| `minimized` | `boolean` | false | |
|
||||||
| `muteUntilPrompt`| `boolean` | true | mute stdout until a prompt is detected in ISO |
|
| `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO |
|
||||||
| `HUD` | `boolean` | false | link to camera movement |
|
| `HUD` | `boolean` | false | link to camera movement |
|
||||||
| `transparent` | `boolean` | false | heavy, needs good gpu |
|
| `transparent` | `boolean` | false | heavy, needs good gpu |
|
||||||
| `memory` | `number` | 60 | VM memory (in MB) [NOTE` quest or smartphone webworker might crash > 40mb ] |
|
| `memory` | `number` | 60 | VM memory (in MB) [NOTE` quest or smartphone webworker might crash > 40mb ] |
|
||||||
|
|
@ -149,14 +150,18 @@ NOTE: For convenience reasons, events are forwarded between com/isoterminal.js,
|
||||||
|
|
||||||
## [launcher](com/launcher.js)
|
## [launcher](com/launcher.js)
|
||||||
|
|
||||||
displays app (icons) for enduser to launch
|
displays app (icons) in 2D and 3D handmenu (enduser can launch desktop-like 'apps')
|
||||||
|
|
||||||
|
```html
|
||||||
|
<a-entity launcher>
|
||||||
|
<a-entity launch="component: helloworld; foo: bar"><a-entity>
|
||||||
|
</a-entity>
|
||||||
|
|
||||||
```javascript
|
|
||||||
<a-scene launcher/>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
| property | type | example |
|
| property | type | example |
|
||||||
|--------------|--------------------|----------------------------------------------------------------------------------------|
|
|--------------|--------------------|----------------------------------------------------------------------------------------|
|
||||||
|
| `attach` | `selector` | hand or object to attach menu to |
|
||||||
| `registries` | `array` of strings | `<a-entity launcher="registers: https://foo.com/index.json, ./index.json"/>` |
|
| `registries` | `array` of strings | `<a-entity launcher="registers: https://foo.com/index.json, ./index.json"/>` |
|
||||||
|
|
||||||
| event | target | info |
|
| event | target | info |
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
* | `depth` | `number` | 0.03 ||
|
* | `depth` | `number` | 0.03 ||
|
||||||
* | `lineHeight` | `number` | 18 ||
|
* | `lineHeight` | `number` | 18 ||
|
||||||
* | `bootMenu` | `string` | "" | character to auto-enter in bootMenu |
|
* | `bootMenu` | `string` | "" | character to auto-enter in bootMenu |
|
||||||
* | `bootMenuURL` | `string` | "" | character to auto-enter in bootmeun when URL has fragment (#foo.zip e.g.) |
|
* | `bootMenuURL` | `string` | "" | character to auto-enter in bootMenu when URL has fragment (#foo.zip e.g.) |
|
||||||
* | `padding` | `number`` | 18 | |
|
* | `padding` | `number` | 18 | |
|
||||||
* | `maximized` | `boolean` | false | |
|
* | `maximized` | `boolean` | false | |
|
||||||
* | `minimized` | `boolean` | false | |
|
* | `minimized` | `boolean` | false | |
|
||||||
* | `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO |
|
* | `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue