# 🕹️ Examples

1. **For learning the basics:**
   - Refer to the **[srm-basic example](https://github.com/CuarzoSoftware/SRM/tree/main/src/examples/srm-basic)**.

2. **For creating textures and setting hardware cursor pixels and position:**
   - Check the **[srm-all-connectors example](https://github.com/CuarzoSoftware/SRM/tree/main/src/examples/srm-all-connectors)**.

3. **For integrating input events with Libinput and using libseat:**
   - Please refer to the **[srm-multi-session example](https://github.com/CuarzoSoftware/SRM/tree/main/src/examples/srm-multi-session)**.

4. **For an example using Skia as a renderer:**
   - Check out **[srm-skia](https://github.com/ehopperdietzel/srm-skia)**.

![](https://github.com/ehopperdietzel/srm-skia/raw/main/demo.jpg)


### Running Included Examples

To run any of these examples, switch to a free TTY by pressing `CTRL + ALT + F[1, 2, 3, ... 10]`, `fn + CTRL + ALT + F[1, 2, 3, ... 10]`, or using the `chvt N` command (replace `N` with the desired virtual terminal number). Then, simply execute the desired example's command.