i guess it is similar project done by @gygonzales here Virtual numeric keypad - #21 by gerardgonzales1977