[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] No distinction between #delete and #backspace OSX Keydown events (#363)

Aliaksei Syrel notifications at github.com
Tue Jan 29 14:41:25 UTC 2019


For OSX both `delete` and `backspace` keys have the same scanCode (`51`) for keyDown event, while different for keystroke and keyUp events:

Backspace:
```
down - #(2 2083375 51 1 0 0 0 1)
stroke - #(2 2083375 8 0 0 8 0 1)
up - #(2 2083464 51 2 0 0 0 1)
```

Delete:
```
down - #(2 2114468 51 1 0 0 0 1)
stroke - #(2 2114468 127 0 0 127 0 1)
up - #(2 2114510 117 2 0 0 0 1)
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/363
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190129/005f554e/attachment.html>


More information about the Vm-dev mailing list