hpi-swa / RSqueak

A Squeak/Smalltalk VM written in RPython.
BSD 3-Clause "New" or "Revised" License
83 stars 15 forks source link

key bindings on OSX #94

Closed abstraktor closed 8 years ago

abstraktor commented 9 years ago

Somebody who knows how to operate SDL? :)

timfel commented 9 years ago

Clipboard api is in SDL2, might be hassle without :(

j4yk commented 9 years ago

@matthias-springer if you look into the backspace issue this might help

http://nendowingsmirai.yuku.com/forum/getrefs/id/13916/type/0

matthias-springer commented 9 years ago

Regarding copy+paste: there are SDL functions SDL_GetClipboardText and SDL_SetClipboardText, but they are not available in SDL 1.2.

There are also Python libraries for accessing the clipboard cross-platform, but they are not rpython (e.g. https://pypi.python.org/pypi/pyperclip).

j4yk commented 9 years ago

I can probably attempt an SDL2 port in some weeks.

j4yk commented 9 years ago

Started an RSDL port to SDL2 here: https://bitbucket.org/pypy/rsdl/branch/sdl2

There will have to be changes to RSqueak as well, due to the changed rendering and window APIs.

This document is particularly helpful, next to the reference: https://wiki.libsdl.org/MigrationGuide