JPEGView allows customizing what each key and key combination will do.

## Translator Credits

Language: English
Translator Name(s):
Contact(s):
Last Updated: 31-JAN-2023

# Basics

Edit "KeyMap.txt" to change keys and actions to your preference.

The format is:

          <Key or mouse combination>			<command>

NOTE: A small number of keys is predefined and cannot be changed:

- F1 for help
- Alt+F4 for exit
- 0..9 for slide show

# Keys

The following keys are recognized:

- Alt, Ctrl, Shift
- Esc, Return, Space, End, Home, Back, Tab, PgDn, PgUp
- Left, Right, Up, Down, Insert, Del, Plus, Minus, Mul, Div, Comma, Period
- A .. Z
- F1 .. F12

## Mouse

It is also possible to bind a command to a mouse button.
Be careful when you override the default functionality (e.g. to pan with left mouse)!

Mouse buttons can be combined with: Alt, Ctrl, Shift but not with other keys or other mouse buttons.

The following mouse buttons are recognized:

- MouseL, MouseR, MouseM
- MouseX1, MouseX2
- MouseDblClk

(Left, right, middle, extra mouse buttons, mouse left double click)

## Rules

Mapping multiple keys to the same command is allowed, but not multiple commands to the same key

WARNING: Be sure not to corrupt the "KeyMap.txt", or else no keys will work anymore!

# Supported Commands

The following is a list of available JPEGView commands which can be mapped to keys/mouse On the left is the command, on the right is a brief description of the command.

NOTE: THIS LIST WAS AUTO-GENERATED
-- Last Updated: 2023-02-24T18:20:46.305494+00:00

Command | Description
--- | ---
IDM_DONOTHING | do nothing (can be used to disable a standard command for a mouse button)
IDM_MINIMIZE | minimize window
IDM_OPEN | open file
IDM_EXPLORE | open and select file in Explorer
IDM_SAVE | save to file in original size, don't allow override without prompt
IDM_SAVE_SCREEN | save to file in screen size
IDM_SAVE_ALLOW_NO_PROMPT | save to file in original size, allow override without prompt when enabled in INI
IDM_RELOAD | reload image
IDM_PRINT | print image
IDM_COPY | copy image to clipboard in screen size
IDM_COPY_FULL | copy image to clipboard in original size
IDM_COPY_PATH | copy image path to clipboard
IDM_PASTE | paste image from clipboard
IDM_BATCH_COPY | open batch copy dialog
IDM_RENAME | rename current file, only works when image processing panel can be shown (i.e. panel not disabled in INI and window size is big enough)
IDM_MOVE_TO_RECYCLE_BIN | delete the current file on disk - no confirmation (by moving it to the recycle bin)
IDM_MOVE_TO_RECYCLE_BIN_CONFIRM | delete the current file on disk - with user confirmation (by moving it to the recycle bin)
IDM_MOVE_TO_RECYCLE_BIN_CONFIRM_PERMANENT_DELETE | delete the current file on disk - confirmation when no recycle bin for this drive
IDM_TOUCH_IMAGE | set modification time to current time
IDM_TOUCH_IMAGE_EXIF | set modification time to EXIF time
IDM_TOUCH_IMAGE_EXIF_FOLDER | set modification time to EXIF time for all images in folder
IDM_SET_WALLPAPER_ORIG | Set original image file as desktop wallpaper
IDM_SET_WALLPAPER_DISPLAY | Set image as displayed as desktop wallpaper
IDM_SHOW_FILEINFO | toggle show file and EXIF info box in top, left corner
IDM_SHOW_FILENAME | toggle show file name on top of screen
IDM_SHOW_NAVPANEL | toggle show navigation panel
IDM_NEXT | go to next image
IDM_PREV | go to previous image
IDM_FIRST | go to first image
IDM_LAST | go to last image
IDM_LOOP_FOLDER | set navigation mode loop through folder
IDM_LOOP_RECURSIVELY | set navigation mode loop through folder and subfolders
IDM_LOOP_SIBLINGS | set navigation mode loop through folders on same level
IDM_SORT_MOD_DATE | sorting order by modification date
IDM_SORT_CREATION_DATE | sorting order by creation date
IDM_SORT_NAME | sorting order by name
IDM_SORT_RANDOM | sorting order random
IDM_SORT_SIZE | sorting order file size in bytes
IDM_SORT_ASCENDING | sort ascending (increasing in value, e.g. A->Z, 0->9)
IDM_SORT_DESCENDING | sort descending (decreasing in value, e.g. Z->A, 9->0)
IDM_SLIDESHOW_RESUME | resume slide show (after stop)
IDM_ROTATE_90 | rotate image 90 deg
IDM_ROTATE_270 | rotate image 270 deg
IDM_ROTATE | show free rotation dialog
IDM_CHANGESIZE | show dialog to change size of image
IDM_PERSPECTIVE | show perpective correction dialog
IDM_MIRROR_H | mirror image horizontally
IDM_MIRROR_V | mirror image vertically
IDM_ROTATE_90_LOSSLESS | Lossless JPEG transformation: rotate image 90 deg
IDM_ROTATE_90_LOSSLESS_CONFIRM | Lossless JPEG transformation: rotate image 90 deg with user confirmation
IDM_ROTATE_270_LOSSLESS | Lossless JPEG transformation: rotate image 270 deg
IDM_ROTATE_270_LOSSLESS_CONFIRM | Lossless JPEG transformation: rotate image 270 deg with user confirmation
IDM_ROTATE_180_LOSSLESS | Lossless JPEG transformation: rotate image 180 deg
IDM_MIRROR_H_LOSSLESS | Lossless JPEG transformation: mirror image horizontally
IDM_MIRROR_V_LOSSLESS | Lossless JPEG transformation: mirror image vertically
IDM_AUTO_CORRECTION | toggle auto color and contrast correction
IDM_AUTO_CORRECTION_SECTION | auto contrast correction on visible section only
IDM_LDC | toggle local density correction (lighten shadows, darken highlights)
IDM_LANDSCAPE_MODE | toogle landscape picture enhancement mode
IDM_KEEP_PARAMETERS | toogle keep parameters between images
IDM_SAVE_PARAMETERS | save to parameter DB
IDM_SAVE_PARAM_DB | delete from parameter DB
IDM_FIT_TO_SCREEN | fit image to screen
IDM_FILL_WITH_CROP | fit image to fill screen with crop
IDM_FIT_WINDOW_TO_IMAGE | toggle fit window automatically to image, avoiding black borders
IDM_SPAN_SCREENS | span over all screens
IDM_TOGGLE_MONITOR | move to other monitor
IDM_FULL_SCREEN_MODE | toggle full screen mode
IDM_HIDE_TITLE_BAR | toggle hiding window title bar. Note: in this mode, the window can't be manually resized
IDM_ALWAYS_ON_TOP | toggle window mode to always on top
IDM_ZOOM_400 | zoom to 400 %
IDM_ZOOM_200 | zoom to 200 %
IDM_ZOOM_100 | zoom to 100 %
IDM_ZOOM_50 | zoom to 50 %
IDM_ZOOM_25 | zoom to 25 %
IDM_ZOOM_INC | zoom in
IDM_ZOOM_DEC | zoom out
IDM_AUTO_ZOOM_FIT_NO_ZOOM | set auto zoom mode fit to screen, never zoom
IDM_AUTO_ZOOM_FILL_NO_ZOOM | set auto zoom mode fill screen, never zoom
IDM_AUTO_ZOOM_FIT | set auto zoom mode fit to screen
IDM_AUTO_ZOOM_FILL | set auto zoom mode fill screen
IDM_EDIT_GLOBAL_CONFIG | edit global configuration
IDM_EDIT_USER_CONFIG | edit user configuration
IDM_BACKUP_PARAMDB | backup parameter DB
IDM_RESTORE_PARAMDB | restore parameter DB
IDM_ABOUT | show about box
IDM_EXIT | exit JPEGView application
IDM_TOGGLE | toggle between marked image and current image
IDM_MARK_FOR_TOGGLE | mark current image for toggling
IDM_COLOR_CORRECTION_INC | increase color correction amount
IDM_COLOR_CORRECTION_DEC | decrease color correction amount
IDM_CONTRAST_CORRECTION_INC | increase contrast correction amount
IDM_CONTRAST_CORRECTION_DEC | decrease contrast correction amount
IDM_CONTRAST_INC | increase contrast
IDM_CONTRAST_DEC | decrease contrast
IDM_GAMMA_INC | increase gamma (brightness)
IDM_GAMMA_DEC | decrease gamma (brightness)
IDM_LDC_SHADOWS_INC | increase lighting shadows
IDM_LDC_SHADOWS_DEC | decrease lighting shadows
IDM_LDC_HIGHLIGHTS_INC | increase darken highlights
IDM_LDC_HIGHLIGHTS_DEC | decrease darken highlights
IDM_SHARPEN_INC | increase sharpness
IDM_SHARPEN_DEC | decrease sharpness
IDM_TOGGLE_RESAMPLING_QUALITY | toggle resampling quality (between point sampling and filtering)
IDM_TOGGLE_FIT_TO_SCREEN_100_PERCENTS | toggle between fit to screen and 100 % zoom
IDM_TOGGLE_FILL_WITH_CROP_100_PERCENTS | toggle between fill with crop and 100 % zoom
IDM_EXCHANGE_PROC_PARAMS | toggle between two sets of image processing parameters
IDM_PAN_UP | pan up
IDM_PAN_DOWN | pan down
IDM_PAN_RIGHT | pan right
IDM_PAN_LEFT | pan left
IDM_CONTEXT_MENU | display context menu