mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-18 03:25:52 +00:00
renamed command line arg to print key names
This commit is contained in:
parent
2e0b8095a3
commit
7c88692c86
@ -37,7 +37,7 @@ delay of 10ms that can be configured in `~/.config/key-mapper/config`.
|
||||
|
||||
##### Key Names
|
||||
|
||||
Run `key-mapper-service --names` for a list of supported keys for
|
||||
Run `key-mapper-service --key-names` for a list of supported keys for
|
||||
the middle column. Examples:
|
||||
|
||||
- Alphanumeric `a` to `z` and `0` to `9`
|
||||
|
@ -66,7 +66,7 @@ if __name__ == '__main__':
|
||||
default=False
|
||||
)
|
||||
parser.add_argument(
|
||||
'-n', '--names', action='store_true', dest='names',
|
||||
'-n', '--key-names', action='store_true', dest='key_names',
|
||||
help='Print all available names for the mapping',
|
||||
default=False
|
||||
)
|
||||
@ -85,7 +85,7 @@ if __name__ == '__main__':
|
||||
add_filehandler()
|
||||
log_info()
|
||||
|
||||
if options.names:
|
||||
if options.key_names:
|
||||
# TODO test
|
||||
print('\n'.join(system_mapping.list_names()))
|
||||
sys.exit(0)
|
||||
|
@ -690,7 +690,7 @@
|
||||
"r(3, k(a).w(500))", "h(a).k(b)"
|
||||
"m(Control_L, k(a).k(x))"
|
||||
|
||||
Run `key-mapper-service --names` for more
|
||||
Run `key-mapper-service --key-names` for more
|
||||
|
||||
Macros:
|
||||
- r: repeats the execution of the second parameter
|
||||
|
Loading…
Reference in New Issue
Block a user