openMSX
Public Types | Public Member Functions | List of all members
openmsx::KeyboardSettings Class Reference

#include <KeyboardSettings.hh>

Public Types

enum class  KpEnterMode { MSX_KP_COMMA , MSX_ENTER }
 
enum class  MappingMode { KEY , CHARACTER , POSITIONAL }
 

Public Member Functions

 KeyboardSettings (CommandController &commandController)
 
SDL_Keycode getDeadKeyHostKey (unsigned n) const
 
SDL_Keycode getCodeKanaHostKey () const
 
KpEnterMode getKpEnterMode () const
 
MappingMode getMappingMode () const
 
bool getAlwaysEnableKeypad () const
 
bool getTraceKeyPresses () const
 
bool getAutoToggleCodeKanaLock () const
 

Detailed Description

Definition at line 15 of file KeyboardSettings.hh.

Member Enumeration Documentation

◆ KpEnterMode

Enumerator
MSX_KP_COMMA 
MSX_ENTER 

Definition at line 18 of file KeyboardSettings.hh.

◆ MappingMode

Enumerator
KEY 
CHARACTER 
POSITIONAL 

Definition at line 19 of file KeyboardSettings.hh.

Constructor & Destructor Documentation

◆ KeyboardSettings()

openmsx::KeyboardSettings::KeyboardSettings ( CommandController commandController)
explicit

Definition at line 30 of file KeyboardSettings.cc.

References tmpStrCat().

Member Function Documentation

◆ getAlwaysEnableKeypad()

bool openmsx::KeyboardSettings::getAlwaysEnableKeypad ( ) const
inline

Definition at line 36 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().

◆ getAutoToggleCodeKanaLock()

bool openmsx::KeyboardSettings::getAutoToggleCodeKanaLock ( ) const
inline

Definition at line 42 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().

◆ getCodeKanaHostKey()

SDL_Keycode openmsx::KeyboardSettings::getCodeKanaHostKey ( ) const
inline

Definition at line 27 of file KeyboardSettings.hh.

References openmsx::EnumSetting< T >::getEnum().

◆ getDeadKeyHostKey()

SDL_Keycode openmsx::KeyboardSettings::getDeadKeyHostKey ( unsigned  n) const
inline

Definition at line 23 of file KeyboardSettings.hh.

◆ getKpEnterMode()

KpEnterMode openmsx::KeyboardSettings::getKpEnterMode ( ) const
inline

Definition at line 30 of file KeyboardSettings.hh.

References openmsx::EnumSetting< T >::getEnum().

◆ getMappingMode()

MappingMode openmsx::KeyboardSettings::getMappingMode ( ) const
inline

Definition at line 33 of file KeyboardSettings.hh.

References openmsx::EnumSetting< T >::getEnum().

◆ getTraceKeyPresses()

bool openmsx::KeyboardSettings::getTraceKeyPresses ( ) const
inline

Definition at line 39 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().


The documentation for this class was generated from the following files: