I open this task, in order to talk about improvements on transform code. I think no one can't doubt is a little mess.
I was making some stuff over it, and i realized it really gets a little work to make it clear.
Some things are duplicated. I was replacing all hardcoded events in transformEvent function. Some can be removed, as they are alredy procesed using WM_modalkeymap_add_item. I think Should all action be performed using the keymap ?
First issue i want to be advised is about RIGHTSHIFTKEY and LEFTSHIFTKEY keypress during transform. According transformEvent it should enable MOD_CONSTRAINT_PLANE, but is also processed first on handleMouseInput enabling MOD_PRECISION. Is this expected as it ?