mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
27 lines
593 B
C#
27 lines
593 B
C#
using Avalonia.Threading;
|
|
using Mesen.Config;
|
|
using ReactiveUI;
|
|
using ReactiveUI.Fody.Helpers;
|
|
using System;
|
|
using System.Reactive.Linq;
|
|
|
|
namespace Mesen.ViewModels
|
|
{
|
|
public class CvInputConfigViewModel : DisposableViewModel
|
|
{
|
|
[Reactive] public CvConfig Config { get; set; }
|
|
|
|
public Enum[] AvailableControllerTypesP12 => new Enum[] {
|
|
ControllerType.None,
|
|
ControllerType.ColecoVisionController,
|
|
};
|
|
|
|
[Obsolete("For designer only")]
|
|
public CvInputConfigViewModel() : this(new CvConfig()) { }
|
|
|
|
public CvInputConfigViewModel(CvConfig config)
|
|
{
|
|
Config = config;
|
|
}
|
|
}
|
|
}
|