Index: applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java
===================================================================
--- applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java	(revision 21523)
+++ applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java	(revision 21524)
@@ -66,4 +66,14 @@
 		//Main.panel.addKeyListener(this);
 		//Main.map.mapView.addKeyListener(this);
+		System.err.println("key :");
+
+		Action a = new AbstractAction() {
+			public void actionPerformed(ActionEvent e) {
+				// TODO Auto-generated method stub
+				System.err.println("!!!boom!!!");
+			}};
+		Main.registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0));
+
+		//Main.map.mapView.addKeyListener(this);
 		//Main.contentPane.getInputMap().put(KeyStroke.getKeyStroke("SPACE"),"pressed");
 		//Main.contentPane.getActionMap().put("pressed",a);
