void on_foreach_clear_list_items(gpointer data, gpointer user_data G_GNUC_UNUSED)
{
Item* item = (Item*)data;
g_object_unref (item->ellipse_behaviour);
g_free (item->filepath);
g_free (item);
}
void scale_texture_default(ClutterActor *texture)
{
int pixbuf_height = 0;
clutter_texture_get_base_size (CLUTTER_TEXTURE (texture), NULL, &pixbuf_height);
const gdouble scale = pixbuf_height ? IMAGE_HEIGHT / (gdouble)pixbuf_height : 0;
clutter_actor_set_scale (texture, scale, scale);
}
How to Use?
- Look at the program and start typing the same
- The keyboard on the screen shows where your fingers should be placed; highlighted keys are the assigned keys for the respective finger
- After completing this program you can see your WPM (words per minute), Accuracy and Keys with most mistakes
Equations used
WPM tells how fast you type, considering mistakes
An uncorrected mistake per minute brings down your WPM by 1.
Accuracy defines percentage of correct typed character out of total typed characters.
Why are group of keys highlighted?
In touch typing, every finger is assigned to a specific group of keys. For example the left hand middle finger is supposed to hit keys: 3 E D and C only.
What are keyboard layouts?
You must be familiar with QWERTY keyboard, as it is the most widely used. Dvorak and Colemak are alternatives designed for speed and comfort.
What is forced correction?
Forced correction does not let you proceed if you have typed the current character wrong. You can only proceed if you correct your mistake.