摘要 |
The invention relates to giving haptic feedback to the user of an electronic device. Spatial information on haptic elements on the user interface is used to create haptic feedback relating to the user interface elements. The spatial information resides in a memory in compressed and/or coded form e.g. in order to save memory and to improve operating speed. The spatial information is decoded or decompressed when needed, and in addition, a haptic cache is arranged where the spatial information likely to be needed soon is decompressed ahead of time. This predictive decompression is arranged to be done based on the movement of the user's input on the user interface. For example, the blocks that the user is likely to touch soon are decompressed to the haptic cache.
|