summaryrefslogtreecommitdiff
path: root/src/keycode.cpp
AgeCommit message (Collapse)Author
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-12-23Fix keycodes (#325)Ilya Zhuravlev
2012-09-01Fix GUIKeyChangeMenu so that '/' can be inserted on a finnish keyboardPerttu Ahola
2012-09-01Don't crash in "unexpected multibyte character"; just print it in log. ↵Perttu Ahola
Github #222
2012-07-21Fix wctomb useAndreas Zwinkau
wctomb(NULL, _) returns "nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless." I assume the intentation was to get the size of the target buffer. Use MB_CUR_MAX for this.
2012-07-21Remove mbtowc warningsAndreas Zwinkau
As mbtowc(_, _, 1) reads at most one char, everything other than a return value of 1 is an error. Since the input strings are static, an assert protects against future changes. Likewise, wctomb should currently never encounter a character, which actually needs a multibyte representation.
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-01-06Fix key change menu a bitPerttu Ahola
2011-10-12Header file tweaking; mainly for speedPerttu Ahola
2011-08-22Overhaul the input systemGiuseppe Bilotta
This allows us to map the keys which are not considered in irrlicht's EKEY_CODE system, such as \, [, /, ] etc.
2011-08-13Fix keycode_to_keyname return valueGiuseppe Bilotta
2011-08-12Clean up key names handlingGiuseppe Bilotta
Constify keycode and move the static array of localizable names from the guiKeyChangeMenu header to the implementation file, changing its name.
2011-06-26Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git ↵Sebastian Rühl
into upstream_merge Conflicts: .gitignore CMakeLists.txt data/heart.png src/CMakeLists.txt src/game.cpp src/guiMainMenu.cpp src/inventory.cpp src/map.cpp src/mapblock.cpp src/mapnode.cpp src/mapnode.h src/materials.cpp src/server.cpp Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
2011-06-01added new submenu for key assignmentteddydestodes
configwriting/saving isn't complete and will break your config if you use fancy keys
2011-05-14Added key configuration in the configuration file.Perttu Ahola