-
Notifications
You must be signed in to change notification settings - Fork 0
/
KeymapSwitcher.ReadMe
126 lines (94 loc) · 4.74 KB
/
KeymapSwitcher.ReadMe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
KeymapSwitcher Docky for AmigaOS 4.1, is a plugin for the AmiDock toolbar system.
-AmigaOS 4.1 FE is a must!!!! Using V54 system/gfx functions.
-Tries to make easy for the user to change from default (Input prefs.) to a
secondary keymap choosed by the user (KEYMAP2 tooltype).
-Settings window to change KEYMAP2 tooltype and HOTKEY; click on 'Save' button
to "fix" them in tooltypes.
-Commodity support; use HOTKEY to swap keymaps.
Installation:
1. Two modes/options:
a)Shell/CLI: COPY KeymapSwitcher.docky(|.info) SYS:Utilities/Dockies/ CLONE
b)Workbench: drag&drop KeymapSwitcher.docky icon in SYS:Utilities/Dockies/
NOTE: Your "original" icon and tooltypes will be overwritten!!!
2. Add docky to AmiDock toolbar system.
NOTE: If you want dockies on your screen titlebar see HowTo_make_titlebar.html
Settings:
Docky settings can be changed by modifying the icon's tooltypes.
Tooltypes used by the docky:
-DOCKY_1CLICK=YES|NO, pop-ups the chooser Window/Menu on single click.
-KEYMAP2=<keymap>, secondary keymap to use/swap (from KEYMAPS:).
-MODE=WIN, use a chooser window instead of the default menu popup.
-KEYMAP3=<keymap>, third keymap to use/swap (only via tooltypes).
-HOTKEY=<sequence>, change keymap with <sequence> (default: ALT ESC).
-ALT_MENUNAMES, show 'Description' instead of 'Keymap' in chooser Menu. (WIP)
-DOCKY_HEIGHT=<n>, height in pixels of docky flag image (minimum value: 9)
Usage:
-Once you have KeymapSwitcher on AmiDock it will show as image/docky your
current/default keymap.
-Use RMB to open a popup menu with some options:
REMOVE: quits KeymapSwitcher (restores Input Prefs. keymap)
MODE > MENU : chooser is a popup menu with 2 options (and SETTINGS...)
WINDOW: chooser is a window with 2 buttons
SETTINGS... (only on WINDOW mode): opens KeymapSwitcher settings
-Use LMB (single/double click) to open a MENU/WINDOW chooser that shows
your main keymap (Input Prefs.), a secondary keymap (KEYMAP2 tooltype) and
in case you enabled KEYMAP3 tooltype a third keymap, click on option/button
to change keymap or RMB to close MENU/WINDOW chooser.
-Choosing a keymap will change the image/docky to the new keymap.
Notes:
CHANGE MAIN KEYMAP
-Launch Input preferences (or use 'Modify...' button in KMS settings) and
re-run KMS to reflect such change.
HOTKEYS
-Avoid usage of ALT+SHIFT+key as hotkey/combo. Example: ALT+SHIFT+k
produces unwanted side effects. Use CTRL+SHIFT instead of ALT+SHIFT
-'K' (uppercase) is not the same as 'k' (lowercase) keystroke!!!
KINGCON (console replacement KCON)
-Seems have some key typing problems after swapping keymap.
Compiling sources:
Latest SDK & "make"
Thanks to (in no special order):
jd, kas1e, salas00, trixie, zzd10h and everyone I forget (sorry).
Everyone at os4coding and HP forum!
Translations:
Dutch & French: Joseph Duchâtelet (jd)
Greek: Anthony Iliakis (phantom)
Italian: Samir Hawamdeh (samo79)
Russian: Mikhail Malyshev
Spanish: Javier de las Rivas
Changes/History:
V52.4 (2016.01.27) Javier de las Rivas
- Fixed KEYMAP2 flag not changed after SAVE/USE prefs.
- Updated russian keymap (RUS_UAE) flag image support.
- Changed LABEL object LABEL_Underscore '~0' to '0' (russian fix).
V52.3 (2015.07.17) Javier de las Rivas
- Fixed some issues with Single/Double click on docky (THX jd).
- Added 'Modify...' button to change main keymap (launches Input prefs.)
and added visual status of KEYMAP2 in settings window (THX jd).
- Redraw only when really needed (SignalDocky(dd, 0|1) / dd->dockyFlag).
- Locale keymap descriptions shown with correct charset in listbrowser
and in chooser popup menu.
- Created CodeBench project file.
- AmigaOS 4.1 FE is a must!!!! Using V54 system/gfx functions.
V52.2 (2014.03.18) Javier de las Rivas
- Included commandline version (Keymap), sources included too.
- Added KEYMAP3 tooltype.
- Listbrowser shows keymap2 marked.
- Added commodity support for swapping keymaps via hotkeys.
- Added catalog support.
- Bugs fixed & cleaned code.
- Prefs. window uses 'IDOS->CreateNewProcTags()' -> doesn't block AmiDock.
- You can move in listbrowser with cursor up/down keys.
- Added little HowTo_make_titlebar.html (THX samo79).
- Added ALT_MENUNAMES tooltype (THX zzd10h).
- Added DOCKY_HEIGHT tooltype (jd).
V52.1 (2013-10-06) Javier de las Rivas
- First released version.
ToDo:
-ALT_MENUNAMES: try in chooser menu popup show '[FLAG] <keymaplocalname>'
-Add in options window option: "enable amiga key combos for native language".
So, when that option will be enabled, then when user press "Amiga" key,
language switches to original one, and user can use workbench shortcuts even
with his language. Because for example now, when i need to spawn an execute
window, i need to swith back to the original keymap.
(NOTE: seems not possible CX doesn't accept rAMIGA as single keystroke)