RhythmGame 1.4.3
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
input Namespace Reference

Various input-related classes and functions. More...

Classes

class  AnalogAxisConfig
 
class  CustomNotifyApp
 
class  Gamepad
 
struct  GamepadAxisConfig
 
class  GamepadManager
 
class  InputTranslator
 
class  Key
 
class  Mapping
 
class  MidiDevice
 
class  MidiManager
 

Enumerations

enum class  BmsKey {
  Col11 = 0 , Col12 , Col13 , Col14 ,
  Col15 , Col16 , Col17 , Col1sUp ,
  Col21 , Col22 , Col23 , Col24 ,
  Col25 , Col26 , Col27 , Col2sUp ,
  Start1 , Select1 , Col1sDown , Start2 ,
  Select2 , Col2sDown
}
 The keys used for BMS. More...
 

Functions

auto playerIndexFromKey (BmsKey key) -> int
 
auto convertToP1Key (BmsKey key) -> BmsKey
 
auto operator>> (QDataStream &stream, Gamepad &gamepad) -> QDataStream &
 
auto operator<< (QDataStream &stream, const Gamepad &gamepad) -> QDataStream &
 
auto isScratch (const BmsKey key) -> bool
 
auto invertScratch (const BmsKey key) -> BmsKey
 
auto removeButtonMappings (QHash< Key, BmsKey > &config, BmsKey button) -> bool
 
auto removeDuplicateButtonMappings (QHash< Key, BmsKey > &config) -> bool
 
auto operator>> (QDataStream &stream, Key &key) -> QDataStream &
 
auto operator<< (QDataStream &stream, const Key &key) -> QDataStream &
 
auto operator<< (QDataStream &stream, const Mapping &mapping) -> QDataStream &
 
auto operator>> (QDataStream &stream, Mapping &mapping) -> QDataStream &
 
auto operator>> (QDataStream &stream, MidiDevice &device) -> QDataStream &
 
auto operator<< (QDataStream &stream, const MidiDevice &device) -> QDataStream &
 

Detailed Description

Various input-related classes and functions.

Enumeration Type Documentation

◆ BmsKey

enum class input::BmsKey
strong

The keys used for BMS.

These correspond to the columns in a BMS chart but they can also be used to navigate menus.

Enumerator
Col11 
Col12 
Col13 
Col14 
Col15 
Col16 
Col17 
Col1sUp 
Col21 
Col22 
Col23 
Col24 
Col25 
Col26 
Col27 
Col2sUp 
Start1 
Select1 
Col1sDown 
Start2 
Select2 
Col2sDown 

Function Documentation

◆ convertToP1Key()

auto input::convertToP1Key ( BmsKey  key) -> BmsKey

◆ invertScratch()

auto input::invertScratch ( const BmsKey  key) -> BmsKey

◆ isScratch()

auto input::isScratch ( const BmsKey  key) -> bool

◆ operator<<() [1/4]

auto input::operator<< ( QDataStream &  stream,
const Gamepad &  gamepad 
) -> QDataStream&

◆ operator<<() [2/4]

auto input::operator<< ( QDataStream &  stream,
const Key &  key 
) -> QDataStream&

◆ operator<<() [3/4]

auto input::operator<< ( QDataStream &  stream,
const Mapping &  mapping 
) -> QDataStream&

◆ operator<<() [4/4]

auto input::operator<< ( QDataStream &  stream,
const MidiDevice &  device 
) -> QDataStream&

◆ operator>>() [1/4]

auto input::operator>> ( QDataStream &  stream,
Gamepad &  gamepad 
) -> QDataStream&

◆ operator>>() [2/4]

auto input::operator>> ( QDataStream &  stream,
Key &  key 
) -> QDataStream&

◆ operator>>() [3/4]

auto input::operator>> ( QDataStream &  stream,
Mapping &  mapping 
) -> QDataStream&

◆ operator>>() [4/4]

auto input::operator>> ( QDataStream &  stream,
MidiDevice &  device 
) -> QDataStream&

◆ playerIndexFromKey()

auto input::playerIndexFromKey ( BmsKey  key) -> int

◆ removeButtonMappings()

auto input::removeButtonMappings ( QHash< Key, BmsKey > &  config,
BmsKey  button 
) -> bool

◆ removeDuplicateButtonMappings()

auto input::removeDuplicateButtonMappings ( QHash< Key, BmsKey > &  config) -> bool