Ported some PCjs drawing code to PC8080, still needs work though
This commit is contained in:
parent
98597a21da
commit
59b6dd3be6
23 changed files with 781 additions and 499 deletions
|
|
@ -9,7 +9,9 @@ PCjs Keyboard Component
|
|||
|
||||
Format
|
||||
---
|
||||
<keyboard>...</keyboard>
|
||||
```xml
|
||||
<keyboard>...</keyboard>
|
||||
```
|
||||
|
||||
Purpose
|
||||
---
|
||||
|
|
@ -41,18 +43,23 @@ for the specified model.
|
|||
|
||||
Example
|
||||
---
|
||||
<keyboard id="keyboard" model="us83"/>
|
||||
```xml
|
||||
<keyboard id="keyboard" model="us83"/>
|
||||
```
|
||||
|
||||
See [/devices/pc/keyboard/us83-softkeys.xml](/devices/pc/keyboard/us83-softkeys.xml) for an example that provides a
|
||||
complete "soft keyboard".
|
||||
|
||||
Output
|
||||
---
|
||||
<div id="..." class="pc-keyboard pc-component">
|
||||
<div class="pc-container">
|
||||
<div class="pcjs-keyboard" data-value="id:'...',name:'...',model:'...',sw1:'...',sw2:'...'"></div>
|
||||
</div>
|
||||
</div>
|
||||
```html
|
||||
<div id="..." class="pc-keyboard pc-component">
|
||||
<div class="pc-container">
|
||||
<div class="pcjs-keyboard" data-value="id:'...',name:'...',model:'...',sw1:'...',sw2:'...'">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
Also, if any controls are defined, another <div> of class="pc-controls" is created in the container <div>,
|
||||
with each control inside a <div> of class="pc-control".
|
||||
|
|
|
|||
Loading…
Reference in a new issue