Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hi, I'm newbie with asp.net & just have self-learning a few months ago...
I've tried to understand how to implement my idea into .net programming. I've done all parts except the keystroke part.
I would like to calculate the keyhold time of a keypress in ms & also the inter-key latency time between 2 keys.
 
The idea is as below:
key 'A' is pressed (keydown) - record keyhold time
key 'A' is depressed (keyup) - record keyhold time
key 'A' is pressed & key 'B' is depressed - record inter-key latency time
 
And also, I need ideas how to put my keystroke data into database. Should I record the key character also??
Example: A.down.time || A.up.time || A.B.time
 
Tq. . . v(^_^)//
Posted 16-Nov-12 5:15am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

.NET really has nothing to do with it. Your events happen on the client, and certainly for you to track things like that, you need to do it on the client, in javascript.
 
You can store the key data any way you like, but it won't be one key at a time, surely ? If it is, you'd need to use AJAX, and that seems like another complication for a beginner.
  Permalink  
Comments
sashatv9 at 16-Nov-12 22:39pm
   
soo, I need to use javascript to capture the keystroke data rite? but i don't understand your statement sir --> "it won't be one key at a time"...
And AJAX is new to me... (Y_Y)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100