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

#include <KeyboardSettings.hh>

Public Types

enum  KpEnterMode { MSX_KP_COMMA , MSX_ENTER }
 
enum  MappingMode { KEY_MAPPING , CHARACTER_MAPPING , POSITIONAL_MAPPING }
 

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 14 of file KeyboardSettings.hh.

Member Enumeration Documentation

◆ KpEnterMode

Enumerator
MSX_KP_COMMA 
MSX_ENTER 

Definition at line 17 of file KeyboardSettings.hh.

◆ MappingMode

Enumerator
KEY_MAPPING 
CHARACTER_MAPPING 
POSITIONAL_MAPPING 

Definition at line 18 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 35 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().

◆ getAutoToggleCodeKanaLock()

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

Definition at line 41 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().

◆ getCodeKanaHostKey()

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

Definition at line 26 of file KeyboardSettings.hh.

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

◆ getDeadKeyHostKey()

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

Definition at line 22 of file KeyboardSettings.hh.

◆ getKpEnterMode()

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

Definition at line 29 of file KeyboardSettings.hh.

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

◆ getMappingMode()

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

Definition at line 32 of file KeyboardSettings.hh.

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

◆ getTraceKeyPresses()

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

Definition at line 38 of file KeyboardSettings.hh.

References openmsx::BooleanSetting::getBoolean().


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