Another tip: you can run JOSM with --trace so that a lot of keyboard-related information will be displayed on the standard output.
Le mar. 30 avr. 2019 à 22:14, Vincent Privat <vincent.pri...@gmail.com> a écrit : > Hello, > To build and run JOSM, see instructions at > https://josm.openstreetmap.de/wiki/Source%20code#CompilingusingAnt > Concerning hotkeys, you should start to get familiar with these classes > and see how they are used, this should help you to understand most of > keyboard interactions in JOSM: > > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/actions/JosmAction.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/actions/mapmode/MapMode.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/util/KeyPressReleaseListener.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/util/ModifierExListener.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/widgets/DisableShortcutsOnFocusGainedTextField.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/tools/KeyboardUtils.html > > https://josm.openstreetmap.de/doc/org/openstreetmap/josm/tools/Shortcut.html > > See also https://josm.openstreetmap.de/wiki/DevelopersGuide > > Welcome to JOSM development! > > Le mar. 30 avr. 2019 à 19:31, Tom H. <usa1944to...@gmail.com> a écrit : > >> Thank you all for your suggestions, I think I've decided to update the >> core instead of making a separate plugin, since hotkeys are simple enough >> to implement and may get frequent use from users. >> >> I now wonder can anyone point me to the right direction as to where to >> begin to integrate new hotkeys into JOSM, like what are the relevant >> files/classes I should modify? And further, is there a tutorial to learn >> how to create JOSM builds? Or had there been any relevant threads in the >> archive? Sorry for all the questions, I'm just very new. Thanks! >> >