aboutsummaryrefslogtreecommitdiff
path: root/src/client/inputhandler.cpp
Commit message (Collapse)AuthorAge
* Add a key to toggle map block bounds (#11172)Seth Traverse2021-04-20
| | | | It's often useful to know where the map block boundaries are for doing server admin work and the like. Adds three modes: single mapblock, range of 5, and disabled.
* Use "Aux1" key name consistently everywhereWuzzy2021-02-24
|
* Fix keyWasDown in input handlersfan52021-02-23
| | | | This was changed 291a6b70d674d9003f522b5875a60f7e2753e32b but should have never been done.
* Revert "Replace MyEventReceiver KeyList with std::unordered_set" (#10622)SmallJoker2020-11-12
| | | This reverts commit 787561b29afdbc78769f68c2f5c4f2cff1b32340.
* Replace MyEventReceiver KeyList with std::unordered_set (#10419)Vincent Robinson2020-09-23
|
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
| | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
* Extend pitch fly mode to swimming (#7943)random-geek2018-12-31
|
* Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg2018-12-02
| | | | add associated keybinding options update docs and settingtypes
* Added pitch fly mode (#7817)Gaël C2018-12-01
| | | | | In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly. It allows smoother and more complex movements. Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
* Switch F3 to use 'enable_fog' settingThomasMonroe3142018-02-08
|
* Game refactor [4/X]: keycache is now owned by InputHandlerLoic Blot2018-01-20
| | | | | | * Make InputHandler own the key cache * Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp * Move RandomInputHandler::step definition into cpp file
* Game refactor [3/X]: Move keycache to inputhandlerLoic Blot2018-01-20
|
* Move files to subdirectories (#6599)Vitaliy2017-11-08
| | | | * Move files around
* Modernize client code (#6250)Loïc Blot2017-08-15
| | | | | | | | * Various code style fixes * Use range based for loops * Use empty instead of empty objects * Use C++11 default keyword for trivial constructors and destructors * Drop some useless casts * Use emplace_back instead of push_back to improve performance of some vectors push
* Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)Loïc Blot2017-05-13
* Move KeyList & InputHandler from game.h to client/inputhandler.h We have a header for inputs, move inputhandler class & related keylist object to it Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined * Pass clang-format on inputhandler.{cpp,h} (compatible)