Patent ID: 11112889

Abstract:
An electronic device according to certain embodiments may comprise a display configured to display a user interface including one or more objects corresponding to one or more functions; at least one wireless communication circuit configured to wirelessly connect to a stylus pen; at least one processor operatively connected to the display and the wireless communication circuit; and a memory operatively connected to the at least one processor, wherein the memory is configured to store the user interface, and wherein the memory stores instructions that, when executed, cause the at least one processor to: provide the user interface to the display; detect contact or proximity of the stylus pen with a selected object of the one or more objects of the user interface on the display, wherein the selected object corresponds to a selected function of the one or more functions; receive a first user input using the stylus pen through the wireless communication circuit, the first user input having a selected stylus pen input type from one or more stylus pen input types, while the stylus pen is in contact or proximate to the selected object; and in response to the first user input, map the selected function to the selected stylus pen input type.