示例#1
0
文件: Indexes.cs 项目: GarfID/EmoPad
 public static ButtonValue From(SampleIndex index)
 {
     return(FromRaw(Indexes.ValueFromIndex(index.RawIndex)));
 }
示例#2
0
文件: Indexes.cs 项目: GarfID/EmoPad
 public static SampleIndex From(ButtonValue value)
 {
     return(FromRaw(Indexes.IndexFromValue(value.RawValue)));
 }