Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trigger a color change via a joystick button/keystroke?

Featured Replies

In order to keep certain elements of my HUD visible in all conditions, I need to trigger a color change in several strings when I push a joystick button or a key on the keyboard.Example:(A:Ambient wind velocity, bool)%((A:Ambient wind velocity, knots) d 0 == ?)%!2d!{dpl=WS}So in the above the color is #80FF80 when normal. How would I change it to turn to red, then blue then back to its original color via multiple pushes of a joystick button or keystroke(1 push red, 2 pushes blue 3 pushes back to normal etc)??Any help is always appreciated.Steve

You can calculate things in the colour tag, e.g. in one of my gauges this looks like this:Color="%( '#FF1C11' '#00FF00' (A:Radio Height, feet) (L:dh, numbers) < ?"So you can try this for your gauge this way: (A: any input) if{ 'the color you want to see' } (A:another input) if{ 'another color' } and so on....Best regards,Harri

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.