From mint-bounce@lists.fishpool.fi Tue Aug 24 03:54:54 2010 X-Squirrel-UserHash: EhVcX1lFRQVaRwYcDQ== X-Squirrel-FromHash: UANfXlkQEVM= Message-ID: <024f61f8924b1506ede6a29ee6a9058a-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJX1loA1RdMl5dSUcEXFxaSFk=-webmailer1@server01.webmailer.hosteurope.de> In-Reply-To: References: <4626a43c7aba195c991d56f16cdbc5fc-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJXVxoB1E6XF1XQ0AHWVhYRA==-webmailer2@server03.webmailer.hosteurope.de> <4f5969b6c3c1196d7b4b7db26df0da9e-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYPVkF3BlQ6XF1XQ0MCWlhRRQ==-webmailer1@server06.webmailer.hosteurope.de> Date: Tue, 24 Aug 2010 09:53:01 +0200 Subject: Re: [MiNT] AES related question: How to keep track if my application is receiving input? From: "m0n0" To: mint@lists.fishpool.fi Reply-To: ole@monochrom.net User-Agent: Host Europe Webmailer/1.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-HE-Access: Yes X-bounce-key: webpack.hosteurope.de;ole@monochrom.net;1282636382;b030ce01; X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: ole@monochrom.net Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hello, Am Di, 24.08.2010, 01:38 schrieb Helmut Karlowski: >>> How do you get this information? >> >> Don't know. > > Maybe from acia.S ;-) Yes, I already thought about querying if the key is still pressed... In rare cases it could miss an key up. But it seems like a good solution... see below. > Why do you want to call it 100/s? For an average user 10/s or less seems > enough to me. 1. Because rendering calculations must take place, network packets must be cared of, etc. - If NetSurf is currently rendering a page and then calls my gui_poll function, it's bad if I break for about 100ms ... this just delays page rendering. 2. Obviously this is not the case when rendering is finished. In that case I would like to use an envt_multi without timeout, but reporting every action I'm interested in... evnt_mult doesn't provide the key up / down. So I have to poll - if I just poll 10 times a second the user can hit the keyboard very fast and it looks like an key hold to me (and I miss an key up event)! Probably it is not realisitic that the user hits the keyboard more than 10 times a second, and I shouldn't care about that. -- Greets, Ole