-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path!ReadMe
More file actions
69 lines (49 loc) · 1.64 KB
/
Copy path!ReadMe
File metadata and controls
69 lines (49 loc) · 1.64 KB
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
KeyMapper
=========
Requirements
------------
- RISC OS 3.5 or later.
- 26/32 bit compatible.
Introduction
------------
KeyMapper is a small module which allows the redefinition of which keys
produce which key codes within RISC OS. Mouse buttons are also treated as
keys in RISC OS, so this module can be used, say, to swap SELECT and ADJUST
over. See exaples, below.
All keys are represented using RISC OS 'internal key numbers', which can be
found in the PRMs or the OS StrongHelp manual.
Usage
-----
Once the module is loaded the key mappings are configured using the
`*KeyMap` command.
| Command | Description |
| --------------------- | ------------------------------------------- |
| `*KeyMap <from> <to>` | Maps key number _from_ to _to_. |
| `*KeyMap <from>` | Show current mapping for key number _from_. |
| `*KeyMap` | Show all redefined key numbers. |
| `*KeyMapReset` | Reset all redefined key numbers. |
Examples
--------
To swap mouse SELECT and ADJUST buttons:
*KeyMap 112 114
*KeyMap 114 112
These mappings alone can be reset using:
*KeyMap 112 112
*KeyMap 114 114
Comments and Updates
--------------------
The latest release is on GitHub <https://github.com/effarig/ro-key-mapper>.
Please and send any bug reports, comments, suggestions etc. using GitHub.
Changes
-------
1.00 (02-Jan-2022):
* Reorganised for GitHub.
* Add license.
* Removed tabs from sources.
* Updated !ReadMe.
* Replace `Jamfile` with AMU `Makefile`.
0.01 (25-Jun-2004):
* Initial release.
License
-------
See LICENSE file.