Skip to content

Commit

Permalink
put BackSpace on middle btn alt fn [#16]
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Mar 19, 2024
1 parent eb63d05 commit b6023f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Left button:

Middle button:
- Enter
- no function yet
- BackSpace

Right button:
- Tab completion
Expand Down
5 changes: 1 addition & 4 deletions src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -4890,11 +4890,8 @@ static void mmb(int alt_fn)
{
__dpmi_regs r = {};

if (alt_fn)
return; // TODO!

r.x.ax = 0x500;
r.x.cx = 0x1c0d; // ENTER
r.x.cx = alt_fn ? 0x0E08 : 0x1c0d; // BkSp or ENTER
__dpmi_int(0x16, &r);
}

Expand Down

0 comments on commit b6023f7

Please sign in to comment.