private void ConfigureSenseHat()
        {
            SenseHatInputManager.Instance.EnterPressed += SenseHatEnterPressed;
            SenseHatInputManager.Instance.LeftPressed  += SenseHatLeftPressed;
            SenseHatInputManager.Instance.RightPressed += SenseHatRightPressed;

            this.senseHatScrollText = new SingleColorScrollText("Launcher");
            this.senseHatScrollText.StartScroll();
        }
Esempio n. 2
0
        private void UpdateSenseHatScrollText(string text)
        {
            if (this.senseHatScrollText != null)
            {
                this.senseHatScrollText.StopScroll();
            }

            this.senseHatScrollText = new SingleColorScrollText(text);
            this.senseHatScrollText.StartScroll();
        }
 private void UpdateSenseHatScrollText()
 {
     this.senseHatScrollText.StopScroll();
     this.senseHatScrollText = new SingleColorScrollText(KioskExperiences.Experiences.ElementAt(senseHatFocusIndex).Attributes.Title);
     this.senseHatScrollText.StartScroll();
 }