Albin Olsson
a34d6bae27
Merge pull request #78 from PaulPorfiroff/allow-mapping-to-keycodes
...
Allow mapping to keycodes
2018-03-01 08:56:23 +01:00
Albin Olsson
3cc6e1eb8c
Merge pull request #98 from thebillywayne/master
...
Update README.md
2018-02-19 08:44:34 +01:00
Albin Olsson
5f9ea17074
Merge pull request #93 from thebinarypenguin/patch-1
...
change "conjugation" to "conjunction" in README.md
2018-02-19 08:43:58 +01:00
Billy Wayne McCann
791057b8af
Update README.md
...
Fixed a small spelling error ("relased" -> "released") in the README.
2018-02-17 00:32:25 -05:00
Ethan Zimmerman
97f79a3ec8
change "conjugation" to "conjunction" in README.md
2017-08-19 14:13:57 -04:00
Albin Olsson
6ded5b453b
Merge pull request #89 from qu1x/add-foreground-flag
...
Add '-f' flag (implied by '-d' flag).
2017-08-07 13:19:39 +02:00
Albin Olsson
99dda44922
Merge pull request #91 from jbernard/master
...
Remove trailing whitespace from manpage
2017-08-07 13:10:19 +02:00
Jon Bernard
d2a9bcb1cc
Remove trailing whitespace from manpage
2017-07-07 07:20:52 -04:00
Rouven Spreckels
d8dbbf8a25
Add '-f' flag (implied by '-d' flag).
2017-07-03 20:58:26 +02:00
Paul Porfiroff
6901647283
"Describe" changes in README.
2016-12-11 15:59:09 +03:00
Paul Porfiroff
48171b2443
Allow specifying keys to map to with keycodes.
2016-12-11 15:58:05 +03:00
Paul Porfiroff
ac6e3723f5
Fix typo.
2016-12-11 14:59:31 +03:00
Albin Olsson
6331193ef0
Merge pull request #76 from orestisf1993/fix-50
...
Fix #50 . Invalid '-t' argument
2016-11-19 12:17:36 +01:00
orestisf
853ca153fe
Remove useless timeout_valid flag
...
It's always true.
2016-11-17 04:48:29 +02:00
orestisf
ccf79e6118
Fix #50 . Exit on invalid '-t' argument
...
Since the program has a default timeout anyway the '-t' flag is not needed.
2016-11-17 04:48:29 +02:00
Albin Olsson
5481a17e6b
Merge pull request #68 from gunnihinn/master
...
Add installation instructions for Fedora systems
2016-11-15 18:42:45 +01:00
Albin Olsson
aa3316795e
Merge pull request #75 from ainola/patch-1
...
it's -> its grammar update
2016-11-15 18:20:51 +01:00
ainola
8d8e95e179
it's -> its grammar update
...
In this case it is grammatically correct to use its instead of it's.
Because this is so pedantic I want this to be more of a "thank you for this great utility, I use it every day" kind of PR.
2016-10-29 15:20:18 -06:00
Gunnar Þór Magnússon
958e3c7c8e
Add installation instructions for Fedora systems
...
The original instructions were for derivatives of Debian. Adding
instructions for Fedora-based systems is just a matter of finding what
the corresponding devel packages are called there.
2016-05-25 16:38:07 -05:00
alols
7fca36453e
Merge pull request #54 from mdom/patch-1
...
Shorten build instructions
2015-09-07 15:30:49 +02:00
Mario Domgoergen
7657ed7a65
Shorten build instructions
...
Just a tiny change: git clone automatically creates the xcape directory, so no need to create it. And thanks for the software, it's amazing!
2015-08-29 20:01:23 +02:00
alols
c052d248b4
Update README.md
...
#53
2015-08-19 08:36:18 +02:00
Albin Olsson
f69c5a3f2b
Fix #51 . Clicking the mouse should prevent key press generation.
2015-07-19 10:37:44 +02:00
Albin Olsson
f3802fc086
Better error messages, fix #25
2015-03-01 08:57:41 +01:00
Albin Olsson
6d74db30c2
Call XInitThreads and XLock/UnlockDisplay, should fix occasional shutdown crashes.
2015-02-28 09:28:47 +01:00
Albin Olsson
9bb6416fa3
Bump copyright year
2015-02-27 19:11:15 +01:00
Albin Olsson
a55e3e90cd
Clean up on exit. Now runs cleanly with valgrind.
2015-02-27 19:10:51 +01:00
Albin Olsson
84e976c167
Make code follow C89 standard
2015-02-27 19:08:38 +01:00
alols
88f933ac5a
Merge pull request #42 from phy1729/makefile-portability
...
Make Makefile more portable
2015-01-20 09:17:40 +01:00
Matthew Martin
59db9c6846
Make Makefile more portable
...
- Use -d instead of -D
- Add all target
- Mark install target as phony
2015-01-19 17:32:20 -06:00
alols
c01ef4f2cf
Merge pull request #36 from mar04/patch-1
...
Fix typo in man page.
2014-05-30 08:45:49 +02:00
Mariusz Libera
d4ae3d74f6
Fix typo in man page.
2014-05-20 18:47:08 +02:00
Albin Olsson
8dc7b033bf
Fix typo in README
2014-03-25 18:35:09 +01:00
alols
664a292d41
Merge pull request #30 from johnhill/manpage
...
Add manpage and update Makefile
2014-02-15 13:25:50 +01:00
John Hill
28fa283290
Add manpage and update Makefile
2014-02-13 19:03:06 +00:00
Albin Olsson
813713a0a9
Update README to avoid confusion on xcape's capabilities.
2014-01-22 23:32:00 +01:00
alols
c8b4ec9b19
Merge pull request #27 from atykhonov/master
...
Fixed bad example
2014-01-18 04:36:02 -08:00
Andrey Tykhonov
3410230008
Used existed variable
2014-01-17 11:46:53 +02:00
Andrey Tykhonov
f1c9869083
Fixed bad example
2014-01-17 01:53:19 +02:00
Albin Olsson
eeb66320bb
Add missing dependency to build instructions
2013-12-14 10:36:01 +01:00
Albin Olsson
5555d661ce
Fix error in documentation. Issue #24
2013-12-05 22:09:11 +01:00
alols
d5b4bbdee0
Merge pull request #23 from davidshepherd7/master
...
Improve instructions for emulating space2ctrl in readme
2013-11-25 23:52:32 -08:00
David Shepherd
a58beb5569
Improve instructions for emulating space2ctrl in readme
...
In my old approach I bound space to a brand new keysym. This works well for
most programs but not for emacs! The problem is that emacs tries to warn
you when you press unbound keys, which causes slowdowns and odd behaviour.
The solution is to instead bind space to some unused modifier key that will
be recognised and ignored by emacs. I've found that "Hyper_L" works nicely.
2013-11-09 22:51:28 +00:00
alols
82014c8436
Merge pull request #22 from davidshepherd7/master
...
Additions to readme and debugging output during keymap creation
2013-09-26 11:42:40 -07:00
David Shepherd
51840b931e
Add example: make space generate ctrl if held
2013-09-25 23:17:13 +01:00
David Shepherd
efb3292a58
Revert "Change to using KeySyms rather than keycodes to store to-keys"
...
This reverts commit b1f0a0601b .
2013-09-25 23:00:51 +01:00
David Shepherd
08992b45d6
Modify readme to explain how to generate button presses with shift
2013-09-25 22:57:13 +01:00
David Shepherd
7ec9ffd5fa
Convert numbered lists in readme to proper markdown lists
2013-09-25 22:06:05 +01:00
David Shepherd
b1f0a0601b
Change to using KeySyms rather than keycodes to store to-keys
...
Modify all code to store and manipulate KeySyms instead of KeyCodes for
output key data.
Incomplete in two places (both also noted by comments in the code):
* When creating the additional key press events I have not yet implemented
the switch to using `XSendEvent` rather than `XTestFakeKeyEvent`. Instead
I just convert back to a keycode assuming zero shift level and
group. This gives the same behaviour as before.
* When checking that an event is not one that we generated I haven't managed
to figure out how to get the keysym of the event from the data provided
by X. Instead I compare the key codes for now, which will work until the
above issue is fixed.
2013-09-25 00:36:30 +01:00
David Shepherd
9c460f46c7
Add debugging output in key map creation
...
Requires the addition of a debug flag to `parse_mapping` and `parse_token`.
For some reason there is no declaration of the function `parse_token`. I'm
not sure why so I won't add it.
2013-09-25 00:26:03 +01:00