Click here to Skip to main content
Sign Up to vote bad
good
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:15


1 solution

.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 - 16 Nov '12 - 22:39
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 353
1 OriginalGriff 345
2 Arun Vasu 315
3 Maciej Los 208
4 Aarti Meswania 180
0 Sergey Alexandrovich Kryukov 9,680
1 OriginalGriff 7,539
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid