mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-18 17:18:48 +02:00
![◱ PixelyIon](/assets/img/avatar_default.png)
This commit adds in the UI for Controller Configuration to Settings, in addition to introducing the storage and loading of aforementioned configurations to a file that can be saved/loaded at runtime. This commit also fixes updating of individual fields in Settings when changed from an external activity.
20 lines
483 B
Kotlin
20 lines
483 B
Kotlin
/*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
* Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
|
*/
|
|
|
|
package emu.skyline.data
|
|
|
|
import emu.skyline.adapter.BaseElement
|
|
import emu.skyline.adapter.ElementType
|
|
|
|
/**
|
|
* This is an abstract class that all adapter item classes inherit from
|
|
*/
|
|
abstract class BaseItem : BaseElement(ElementType.Item) {
|
|
/**
|
|
* This function returns a string used for searching
|
|
*/
|
|
open fun key() : String? = null
|
|
}
|