<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>I need some money! Does GSoC apply to free-lancers with dwindling client bases?<br><br><br><br><br><br><div id="1"><br>---- On Fri, 14 Feb 2014 04:25:39 -0800 <b>Frank Shearar&lt;frank.shearar@gmail.com&gt;</b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px"><br>On 14 February 2014 11:57, gettimothy &lt;<a subj="" mailid="gettimothy%40zoho.com" href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt; wrote: <br>&gt; <br>&gt; Bert. <br>&gt; <br>&gt; Thanks. <br>&gt; <br>&gt; You mentioned that  ".. we never took the time to make all platforms present key codes uniformly. (We could still do it: up/down events are almost completely unused, partly because of this problem)...." <br>&gt; <br>&gt; This sounds like fun. I will poke around and try to understand the sub-system and get back to the list. <br>&gt; <br>&gt; Cheers. <br> <br>Could this be enough work for a GSoC project? (I say this knowing I <br>might tread on your toes here, tty - not wanting to, nor wanting to <br>take anything away from either your fun or your contributions: just <br>wondering if we could someone to pay for this kind've work, and thus <br>maximise VM work.) <br> <br>frank <br> <br>&gt; tty. <br>&gt; <br>&gt; <br>&gt; <br>&gt; ---- On Fri, 14 Feb 2014 02:33:45 -0800 Bert Freudenberg&lt;<a subj="" mailid="bert%40freudenbergs.de" href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt; wrote ---- <br>&gt; <br>&gt; On 14.02.2014, at 00:34, gettimothy &lt;<a subj="" mailid="gettimothy%40zoho.com" href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt; wrote: <br>&gt; <br>&gt;&gt; Hi All, <br>&gt;&gt; <br>&gt;&gt; I got pure Morphic MouseEvents forwarded just fine (thanks to your help on the bit-fiddling) and the translation is good enough to pop up a menu from the top menu bar. <br>&gt; <br>&gt; Nice! :) <br>&gt; <br>&gt;&gt; Next up is KeyboardEvents and at first glance it looks a bit daunting. <br>&gt; <br>&gt; Key stroke events are pretty simple: you just put the ASCII code into one field and the Unicode into another. This is the same on pretty much any platform now. <br>&gt; <br>&gt; But for full emulation you also need to emulate key down and key up events. Those are platform-specific, each has their own raw key codes. Unfortunately we never took the time to make all platforms present key codes uniformly. (We could still do it: up/down events are almost completely unused, partly because of this problem). <br>&gt; <br>&gt; If you want to emulate up/down events, I think your best bet will be to emulate a Windows VM. Because on Windows, the keycodes are based on ASCII - the 'a' key has key code 65. This must be independent on whether shift is pressed or not, because it refers to the physical key. If you wanted to emulate Mac you'ld have to generate Mac key codes (A=0, S=1, D=2, F=3, etc). Unix/X11 might be easier too, I think it uses X11 keysyms, but IIRC the Unix VM does give different key codes for a and shift-a, which is wrong. <br>&gt; <br>&gt; - Bert - <br>&gt; <br>&gt; <br>&gt; <br></blockquote><br></div></body></html>