Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9a98537
added keyboard classes DesktopKeyboard and StringKeyboard
chschnell Sep 15, 2025
9d3e9ac
added interactive abort of paste operation with Esc key
chschnell Sep 15, 2025
f4da25c
replaced bitmask 0x80 for scancodes with named constant
chschnell Sep 15, 2025
3e6ca59
made keyboard layout configurable in config.keyboard.kbdid
chschnell Sep 15, 2025
6271ac5
fixed bug in keymap decoder
chschnell Sep 16, 2025
72fb495
fixed KeyboardEvent decoding in V86 release mode
chschnell Sep 17, 2025
bc8beca
reduced keyboard API in class V86
chschnell Sep 17, 2025
39c0ace
renamed StringKeyboard to DataKeyboard
chschnell Sep 17, 2025
dfd9c00
renamed STRKBD_STATE_* constants to DK_STATE_*
chschnell Sep 17, 2025
8cda438
replaced all SCANCODE.X with SCANCODE["X"]
chschnell Sep 17, 2025
0e6e198
code cleanup
chschnell Sep 18, 2025
c0a5d31
added function KeyboardAdapter.simulate_keypress(...key_names)
chschnell Sep 18, 2025
d08eb65
fixed bug in send_keypress()
chschnell Sep 18, 2025
e75869e
code cleanup
chschnell Sep 18, 2025
a954228
replaced all CHARMAPS.X with CHARMAPS["X"]
chschnell Sep 18, 2025
259a8c7
added API function V86.keyboard_send_keypress(...keys)
chschnell Sep 19, 2025
75174d5
added log messages for undefined characters and keys
chschnell Sep 19, 2025
e578b61
added missing definition of Backspace character "\b" to keymap
chschnell Sep 19, 2025
d1f85ae
fixed bug in mobile keyboard handling
chschnell Sep 19, 2025
021803e
removed unused KEYMAPS attributes
chschnell Sep 19, 2025
c92fb6a
added V86 configuration option config.lang
chschnell Sep 19, 2025
5ad63b3
renamed "lang" to "locale"
chschnell Sep 19, 2025
ce681f9
added web UI option "locale"
chschnell Sep 19, 2025
a3fe026
added web UI function "Send clipboard" to paste clipboard to guest
chschnell Sep 20, 2025
bff2f43
added optional argument hold_time to V86.keyboard_send_keypress()
chschnell Sep 20, 2025
bc88627
added missing scancode definitions for IntlRo, OSLeft and OSRight
chschnell Sep 20, 2025
8cbe258
added function definition of V86.keyboard_send_keypress(keys, hold_time)
chschnell Sep 20, 2025
63a7fd4
added call to DataKeyboard.abort() in KeyboardAdapter.destroy()
chschnell Sep 20, 2025
b85b08f
simplified DataKeyboard.send_keypress()
chschnell Sep 20, 2025
90d3fdc
fixed english grammer mistake
chschnell Sep 20, 2025
593c7a9
added keyboard layout mapping support to DataKeyboard.send_keypress()
chschnell Sep 21, 2025
1ff9d26
updated documentation of V86.keyboard_send_keypress(keys, hold_time)
chschnell Sep 22, 2025
4ef1d75
moved code from DataKeyboard.send_text_scancodes() into send_text()
chschnell Sep 22, 2025
05078b3
skip dead keys in DataKeyboard.send_keypress()
chschnell Sep 22, 2025
3697848
flagged key names with equal scancodes using comments
chschnell Sep 22, 2025
ecdfaa1
added missing instructions to KeyboardAdapter.init() and .destroy()
chschnell Sep 22, 2025
a62ba1c
increased burst size to 15 bytes
chschnell Sep 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@ <h4>Debugger</h4>
</select>
</td>
</tr>

<tr>
<td><label for="locale">Locale (region)</label></td>
<td>
<select id="locale">
<option value="us">United States (KBDUS, CP437)</option>
<option value="uk">United Kingdom (KBDUK, CP858)</option>
<option value="de">German (KBDGR, CP858)</option>
</select>
</td>
</tr>
</table>

<br>
Expand All @@ -211,6 +222,7 @@ <h4>Debugger</h4>
<input type="button" value="Exit" id="exit">
<input type="button" value="Send Ctrl-Alt-Del" id="ctrlaltdel">
<input type="button" value="Send Alt-Tab" id="alttab">
<input type="button" value="Send clipboard" id="paste_clipboard">
<input type="button" value="Get floppy image" id="get_fda_image">
<input type="button" value="Get second floppy image" id="get_fdb_image">
<input type="button" value="Get hard disk image" id="get_hda_image">
Expand Down
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,17 @@ <h4 id="setup">Setup</h4>
</select>
</td>
</tr>

<tr>
<td><label for="locale">Locale (region)</label></td>
<td>
<select id="locale">
<option value="us">United States (KBDUS, CP437)</option>
<option value="uk">United Kingdom (KBDUK, CP858)</option>
<option value="de">German (KBDGR, CP858)</option>
</select>
</td>
</tr>
</table>

<br>
Expand All @@ -303,6 +314,7 @@ <h4 id="setup">Setup</h4>
<input type="button" value="Exit" id="exit">
<input type="button" value="Send Ctrl-Alt-Del" id="ctrlaltdel">
<input type="button" value="Send Alt-Tab" id="alttab">
<input type="button" value="Send clipboard" id="paste_clipboard">
<input type="button" value="Get floppy image" id="get_fda_image">
<input type="button" value="Get second floppy image" id="get_fdb_image">
<input type="button" value="Get hard disk image" id="get_hda_image">
Expand Down
Loading