Fix PropertyIndex for CKeyboardKey and CJoystickButton

This commit is contained in:
Roland Winklmeier
2018-10-02 09:34:21 +02:00
committed by Klaus Basan
parent 8554fffec0
commit c13121edbd
3 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ namespace BlackMisc
//! Properties by index //! Properties by index
enum ColumnIndex enum ColumnIndex
{ {
IndexDeviceName = 0, IndexDeviceName = CPropertyIndex::GlobalIndexCJoystickButton,
IndexButton, IndexButton,
IndexButtonAsString, IndexButtonAsString,
IndeButtonObject, // just for updates IndeButtonObject, // just for updates

View File

@@ -34,7 +34,7 @@ namespace BlackMisc
//! Properties by index //! Properties by index
enum ColumnIndex enum ColumnIndex
{ {
IndexKey = 0, IndexKey = CPropertyIndex::GlobalIndexCKeyboardKey,
IndexKeyAsString, IndexKeyAsString,
IndexKeyObject, // just for updates IndexKeyObject, // just for updates
}; };

View File

@@ -144,6 +144,8 @@ namespace BlackMisc
GlobalIndexCVPilotModelRule = 9000, GlobalIndexCVPilotModelRule = 9000,
GlobalIndexCVoiceRoom = 10000, GlobalIndexCVoiceRoom = 10000,
GlobalIndexCSettingKeyboardHotkey = 11000, GlobalIndexCSettingKeyboardHotkey = 11000,
GlobalIndexCKeyboardKey = 11100,
GlobalIndexCJoystickButton = 11200,
GlobalIndexIDatastoreInteger = 12000, GlobalIndexIDatastoreInteger = 12000,
GlobalIndexIDatastoreString = 12100, GlobalIndexIDatastoreString = 12100,
GlobalIndexCDbInfo = 12200, GlobalIndexCDbInfo = 12200,