MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / dIsDecentChar

Function dIsDecentChar

Engine/source/sim/actionMap.cpp:174–177  ·  view source on GitHub ↗

This is used for determing keys that have ascii codes for the foreign keyboards. IsAlpha doesn't work on foreign keys.

Source from the content-addressed store, hash-verified

172
173// This is used for determing keys that have ascii codes for the foreign keyboards. IsAlpha doesn't work on foreign keys.
174static inline bool dIsDecentChar(U8 c)
175{
176 return ((U8(0xa0) <= c) || (( U8(0x21) <= c) && (c <= U8(0x7e))) || ((U8(0x91) <= c) && (c <= U8(0x92))));
177}
178
179struct AsciiMapping
180{

Callers 3

createEventDescriptorMethod · 0.85
findNodeMethod · 0.85
getKeyStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected