Add support for hardware cursors.