1. A method for generating a collection of user-level events for programming an application, said method comprising: Listing sequences of input events from at least two different channels, each input event being defined by at least a bit pattern; Defining, for at least a sequence of input events, a transformation of said at least a sequence of input events into a user-level event, each user-level event generating an input to the application; Associating, to each input to the application, the corresponding user-level event; Associating a contextual parameter of call of the corresponding user-level event based on the input