Axis Remapping for BHI160B on ESP32-S3 (Arduino Library)

Here is the orientation code I have used and I didn't find any functions for orientation change and Here i have used Arduino IDE with Esp32.