Jump to content

DCS-BIOS How to detect if the game is stoped


Recommended Posts

Posted

Hi, I am working on a FA18 UFC style control box with oled displays and leds. Currently I managed to code up to let the box switch its display info and led based on aircraft name reported by dcsbios's metadata. But I struggle to find a buffer in dcs bios indecating if game is at its login page or at least if game is stopped. The reason why I would like to have that is to turn off all the displays and leds after the game. As the aircraft name is not updated when you exit a plane or exit the game. I cannot relay on that buffer.

  • 1 month later...
Posted (edited)

Did you have any luck getting this to work?

I was going to try these commands

display.ssd1306_command(SSD1306_DISPLAYOFF); // To switch display off

display.ssd1306_command(SSD1306_DISPLAYON); // To switch display back on

using the MetadataEnd/_UPDATE_COUNTER

Edited by Sting57

Win11 64bit, AMD Ryzen 58003DX, GeForce 3070 8GB, 2TB SSD, 64GB DDR4 RAM at 3200MHz _ full 1:1 FA-18C Cockpit https://www.youtube.com/@TheHornetProject

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...