# fb\_image.data format for cursors?

- From: Timur Tabi \<hidden\>
- Date: 2013-01-11 23:22:19 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/01/13464566
- Thread: https://ratatoskr.run/linux-fbdev/2013/01/13464566/t.md

```text
Is there any documentation for cursor support?  I'm trying to add cursor
support to my framebuffer driver, and I'm having a really hard time find a
description of anything.

In particular, what is the format of the image data in the fb_image.data
buffer?  For example, if fb_image.width = 12, and fb_image.height = 8,
how is the cursor data packed into the 'data' buffer?  That is, what is in
data[0], data[1], etc?

-- 
Timur Tabi
Linux kernel developer at Freescale

```
