mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
dc5886bfa9
commit
a1f7a61d54
@ -4,45 +4,46 @@
|
|||||||
// key configuration...
|
// key configuration...
|
||||||
// XXX need to make this handle modifiers gracefully...
|
// XXX need to make this handle modifiers gracefully...
|
||||||
var keys = {
|
var keys = {
|
||||||
toggleHelp: [72],
|
toggleHelp: [72], // ???
|
||||||
toggleSingleImageMode: [70, 13], // ???, Enter
|
toggleSingleImageMode: [70, 13], // ???, Enter
|
||||||
toggleSingleImageModeTransitions: [84], // t
|
toggleSingleImageModeTransitions: [84], // t
|
||||||
toggleSingleImageModeWhiteBG: [87], // w
|
toggleSingleImageModeWhiteBG: [87], // w
|
||||||
close: [27, 88, 67],
|
close: [27, 88, 67], // ???
|
||||||
|
|
||||||
// zooming...
|
// zooming...
|
||||||
zoomIn: [187],
|
zoomIn: [187], // +
|
||||||
zoomOut: [189],
|
zoomOut: [189], // -
|
||||||
// zoom presets...
|
// zoom presets...
|
||||||
fitOne: [49],
|
fitOne: [49], // 1
|
||||||
fitThree: [51],
|
fitThree: [51], // 3
|
||||||
// XXX is this relivant?
|
// XXX is this relivant?
|
||||||
zoomOriginal: [48],
|
zoomOriginal: [48], // 0
|
||||||
|
|
||||||
first: [36],
|
first: [36], // Home
|
||||||
last: [35],
|
last: [35], // End
|
||||||
previous: [37, 80, 188, 8],
|
previous: [37, 80, 188, 8], // Left, BkSp, p, <
|
||||||
next: [39, 78, 190, 32],
|
next: [39, 78, 190, 32], // Right, Space, n, >
|
||||||
// these work with ctrl and shift modifiers...
|
// these work with ctrl and shift modifiers...
|
||||||
down: [40],
|
down: [40], // Down
|
||||||
up: [38],
|
up: [38], // Up
|
||||||
// these work with ctrl modifier...
|
// these work with ctrl modifier...
|
||||||
promote: [45],
|
promote: [45], // ???
|
||||||
demote: [46],
|
demote: [46], // ???
|
||||||
|
|
||||||
// XXX should these be s-up, s-down, ... ??
|
// XXX should these be s-up, s-down, ... ??
|
||||||
moveViewUp: [75], // k
|
moveViewUp: [75], // k
|
||||||
moveViewDown: [74], // j
|
moveViewDown: [74], // j
|
||||||
moveViewLeft: [72], // h
|
moveViewLeft: [72], // h
|
||||||
moveViewRight: [76], // l
|
moveViewRight: [76], // l
|
||||||
|
|
||||||
|
centerCurrentImage: [79], // o
|
||||||
|
|
||||||
centerCurrentImage: [79], // o
|
toggleMarkers: [77], // m
|
||||||
|
|
||||||
toggleMarkers: [77], // m
|
|
||||||
|
|
||||||
// keys to be ignored...
|
// keys to be ignored...
|
||||||
ignore: [16, 17, 18],
|
ignore: [16, 17, 18], // ???, ???, ???
|
||||||
|
|
||||||
|
// print unhandled keys...
|
||||||
helpShowOnUnknownKey: true
|
helpShowOnUnknownKey: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user