Joe Wreschnig [Tue, 12 Mar 2013 13:38:17 +0000 (14:38 +0100)]
Allow Command+Click to enter a raw key code.
Joe Wreschnig [Tue, 12 Mar 2013 13:00:38 +0000 (14:00 +0100)]
NJKeyInputField descends from NSControl and has a text field, rather than being one.
Joe Wreschnig [Tue, 12 Mar 2013 12:55:38 +0000 (13:55 +0100)]
Use symbolic names for keys.
Joe Wreschnig [Tue, 12 Mar 2013 11:45:20 +0000 (12:45 +0100)]
Localization support. Change many names in NJKeyInputField to standard keyboard shortcut symbols.
Joe Wreschnig [Mon, 11 Mar 2013 16:55:14 +0000 (17:55 +0100)]
Disable HID manager entirely when the window is closed and translation is disabled.
Joe Wreschnig [Mon, 11 Mar 2013 16:54:36 +0000 (17:54 +0100)]
Disabling code signing only in Debug is not possible with Sparkle.
Joe Wreschnig [Mon, 11 Mar 2013 13:59:22 +0000 (14:59 +0100)]
Add Sparkle automatic updater.
Joe Wreschnig [Mon, 11 Mar 2013 13:50:00 +0000 (14:50 +0100)]
Add mapping for KRUNCH.
Joe Wreschnig [Mon, 11 Mar 2013 12:24:30 +0000 (13:24 +0100)]
Fix some coding style issues.
Joe Wreschnig [Mon, 11 Mar 2013 12:24:13 +0000 (13:24 +0100)]
Fix input name width.
Joe Wreschnig [Mon, 11 Mar 2013 12:23:27 +0000 (13:23 +0100)]
Still need to prevent duplicates for axes.
Joe Wreschnig [Mon, 11 Mar 2013 12:02:28 +0000 (13:02 +0100)]
Show import conflict alert as a sheet rather than a separate window.
Joe Wreschnig [Mon, 11 Mar 2013 11:28:48 +0000 (12:28 +0100)]
Missed userInfo keys.
Joe Wreschnig [Mon, 11 Mar 2013 11:17:26 +0000 (12:17 +0100)]
Remove event translation menu item, it's not managed here anymore. Change NJKeyInputTextField to use the usual delegate with additional protocol requirements, rather than a custom delegate.
Joe Wreschnig [Mon, 11 Mar 2013 10:39:08 +0000 (11:39 +0100)]
Symbols for mapping userInfo key names.
Joe Wreschnig [Mon, 11 Mar 2013 02:22:28 +0000 (03:22 +0100)]
Remove unused imports.
Joe Wreschnig [Mon, 11 Mar 2013 02:20:29 +0000 (03:20 +0100)]
Generalize and share mapping menu (main, status, dock) behavior.
Joe Wreschnig [Mon, 11 Mar 2013 01:01:08 +0000 (02:01 +0100)]
Push notifications out with more idiomatic semantics - controller as object, parameter as userInfo.
Joe Wreschnig [Sun, 10 Mar 2013 23:22:49 +0000 (00:22 +0100)]
Move more mapping internal management for load/save into NJMapping. Clear out complications in NJMappingController.
Joe Wreschnig [Sun, 10 Mar 2013 21:54:07 +0000 (22:54 +0100)]
Have device controller setup itself rather than relying on the application delegate to do it.
Joe Wreschnig [Sun, 10 Mar 2013 21:52:01 +0000 (22:52 +0100)]
Ignore and stop listening if the key event has either Command or Alt modifier bits set, so e.g. Cmd-W doesn't reset the key.
Joe Wreschnig [Sun, 10 Mar 2013 18:50:06 +0000 (19:50 +0100)]
Fix various bad names in input controller. Make devices appear as a group header.
Joe Wreschnig [Sun, 10 Mar 2013 10:54:36 +0000 (11:54 +0100)]
Improvements to mappings controller. Move array munging into a separate category. Remove dead code. Push mapping changes to the output controller through a notification rather than directly.
Joe Wreschnig [Sun, 10 Mar 2013 10:18:17 +0000 (11:18 +0100)]
Remove duplicate file entry.
Joe Wreschnig [Sat, 9 Mar 2013 20:09:22 +0000 (21:09 +0100)]
Update documentation for mouse events.
Joe Wreschnig [Sat, 9 Mar 2013 19:48:40 +0000 (20:48 +0100)]
Add support for horizontal directions to scrolling. Rework UI to make the relationship between scrolling type and speed more obvious.
Joe Wreschnig [Sat, 9 Mar 2013 19:46:24 +0000 (20:46 +0100)]
Ignore website for build also.
Joe Wreschnig [Sat, 9 Mar 2013 18:57:54 +0000 (19:57 +0100)]
Select mouse button by tag; expose buttons 4 and 5 in the UI.
Joe Wreschnig [Sat, 9 Mar 2013 18:57:03 +0000 (19:57 +0100)]
Click when active to deactivate.
Joe Wreschnig [Sat, 9 Mar 2013 14:07:47 +0000 (15:07 +0100)]
Fix paths that trigger build increments.
Joe Wreschnig [Sat, 9 Mar 2013 14:02:25 +0000 (15:02 +0100)]
Mouse improvements. Segment and snap the mouse move and scroll speed for easier matching, and tweak defaults. Add support for simulating the center mouse button.
Joe Wreschnig [Sat, 9 Mar 2013 12:41:27 +0000 (13:41 +0100)]
Also store the mouse location and don't double-click if it moved.
Joe Wreschnig [Sat, 9 Mar 2013 12:34:58 +0000 (13:34 +0100)]
Send single/double/triple click information with mouse events.
Joe Wreschnig [Sat, 9 Mar 2013 12:34:13 +0000 (13:34 +0100)]
Remove timer log, it's too chatty.
Joe Wreschnig [Fri, 8 Mar 2013 23:56:37 +0000 (00:56 +0100)]
Auto-incrementing build script, I may regret this when it's 10,000 next week.
Joe Wreschnig [Fri, 8 Mar 2013 23:16:07 +0000 (00:16 +0100)]
Set mapping menu limit to 15/16, and show the number of unshown mappings in the item that opens the list.
Joe Wreschnig [Fri, 8 Mar 2013 23:03:03 +0000 (00:03 +0100)]
Add status item. Disable automatic termination, but still hide from the dock when closed by transforming the process type. Share mapping menu generation between the (now three) menus that need it.
Joe Wreschnig [Fri, 8 Mar 2013 16:50:58 +0000 (17:50 +0100)]
Fix text alignment.
Joe Wreschnig [Fri, 8 Mar 2013 16:47:13 +0000 (17:47 +0100)]
Copyedit, new mappings.
Joe Wreschnig [Fri, 8 Mar 2013 16:35:21 +0000 (17:35 +0100)]
Allow mapping names to be auto-set based on bundleand executable path names as well bundle names and IDs. Don't let certain bundles (i.e. Flash) participate in @Application handling.
Joe Wreschnig [Fri, 8 Mar 2013 01:14:25 +0000 (02:14 +0100)]
Improve website.
Joe Wreschnig [Fri, 8 Mar 2013 00:59:57 +0000 (01:59 +0100)]
Add website source.
Joe Wreschnig [Fri, 8 Mar 2013 00:47:23 +0000 (01:47 +0100)]
Fix broken markdown, copyedit.
Joe Wreschnig [Thu, 7 Mar 2013 21:03:24 +0000 (22:03 +0100)]
More size tweaking.
Joe Wreschnig [Thu, 7 Mar 2013 16:16:34 +0000 (17:16 +0100)]
Show/hide prompt for device connection.
Joe Wreschnig [Thu, 7 Mar 2013 16:15:57 +0000 (17:15 +0100)]
Mandatory filename for icon.
Joe Wreschnig [Thu, 7 Mar 2013 15:01:49 +0000 (16:01 +0100)]
Something terrible happened to the project file.
Joe Wreschnig [Thu, 7 Mar 2013 13:56:08 +0000 (14:56 +0100)]
Clean up root folder.
Joe Wreschnig [Thu, 7 Mar 2013 13:23:29 +0000 (14:23 +0100)]
Tweak invalid filename handling. Use it for manual exports also. Allow drag exports of default mapping.
Joe Wreschnig [Thu, 7 Mar 2013 10:07:07 +0000 (11:07 +0100)]
Fix some stray tabs and style violations.
Joe Wreschnig [Thu, 7 Mar 2013 10:03:16 +0000 (11:03 +0100)]
Don't reset selected row on delete.
Joe Wreschnig [Thu, 7 Mar 2013 09:51:03 +0000 (10:51 +0100)]
Ignore helpindex and Emacs temporary files.
Joe Wreschnig [Thu, 7 Mar 2013 09:50:37 +0000 (10:50 +0100)]
Remove helpindex now that it is generated during build. Add a bit to the help about drag-and-drop; remove unnecessary mention of keyboard shortcuts.
Joe Wreschnig [Thu, 7 Mar 2013 09:40:46 +0000 (10:40 +0100)]
Support opening/adding a mapping file directly to import it.
Joe Wreschnig [Thu, 7 Mar 2013 01:06:48 +0000 (02:06 +0100)]
Provide file promises from the mapping list. Perform various file sanitization in doing so.
Joe Wreschnig [Wed, 6 Mar 2013 23:47:17 +0000 (00:47 +0100)]
Drag-and-drop mappings.
Joe Wreschnig [Wed, 6 Mar 2013 22:53:29 +0000 (23:53 +0100)]
Controls to reorder the mapping list.
Joe Wreschnig [Wed, 6 Mar 2013 19:18:26 +0000 (20:18 +0100)]
Don't need a third copy of the license floating around.
Joe Wreschnig [Wed, 6 Mar 2013 19:17:48 +0000 (20:17 +0100)]
Fix bad Markdown.
Joe Wreschnig [Wed, 6 Mar 2013 19:15:14 +0000 (20:15 +0100)]
Update README.
Joe Wreschnig [Wed, 6 Mar 2013 18:53:27 +0000 (19:53 +0100)]
Less crap in the dock menu.
Joe Wreschnig [Wed, 6 Mar 2013 18:53:06 +0000 (19:53 +0100)]
Fix space after link.
Joe Wreschnig [Wed, 6 Mar 2013 18:52:28 +0000 (19:52 +0100)]
Fixed signedness.
Joe Wreschnig [Wed, 6 Mar 2013 18:52:09 +0000 (19:52 +0100)]
Ignore DS_Store litter.
Joe Wreschnig [Wed, 6 Mar 2013 18:21:25 +0000 (19:21 +0100)]
Add missing makefile.
Joe Wreschnig [Wed, 6 Mar 2013 17:43:28 +0000 (18:43 +0100)]
Move help files around. Build index correctly.
Joe Wreschnig [Wed, 6 Mar 2013 16:06:52 +0000 (17:06 +0100)]
Move copyright license to help book.
Joe Wreschnig [Wed, 6 Mar 2013 15:10:29 +0000 (16:10 +0100)]
Tweak matrix layout to give more space for larger segmented controls. Better split view window resize behavior.
Joe Wreschnig [Wed, 6 Mar 2013 14:12:27 +0000 (15:12 +0100)]
Finish first draft of manual.
Joe Wreschnig [Wed, 6 Mar 2013 14:12:07 +0000 (15:12 +0100)]
Support magic @Application token for automatic mapping names. Fall back to the bundle name if no localized name is available.
Joe Wreschnig [Wed, 6 Mar 2013 12:23:09 +0000 (13:23 +0100)]
Mouse mode toggle creates really confusing situations right now, disable it.
Joe Wreschnig [Wed, 6 Mar 2013 11:41:25 +0000 (12:41 +0100)]
Improved analog support for scrolling, and allow speed adjustments.
Joe Wreschnig [Wed, 6 Mar 2013 10:44:33 +0000 (11:44 +0100)]
Change NJInputAnalog so magnitudes of subactions are always positive (e.g. -1 magnitude is 1 on low 0 on high, rather than -1 on low and high). Change NSInputs so buttons have a magnitude 1 when pressed, allowing them to also control the mouse. Allow mouse movement speed control.
Joe Wreschnig [Wed, 6 Mar 2013 00:48:52 +0000 (01:48 +0100)]
Add all major sections of help.
Joe Wreschnig [Wed, 6 Mar 2013 00:04:31 +0000 (01:04 +0100)]
Start help book. Tweak UI to deal with issues discovered trying to explain it.
Joe Wreschnig [Tue, 5 Mar 2013 01:08:03 +0000 (02:08 +0100)]
Subscribe the output controller to notifications directly. Application delegate has no more need to track the output controller.
Joe Wreschnig [Tue, 5 Mar 2013 00:56:13 +0000 (01:56 +0100)]
Avoid repeating serialization codes.
Joe Wreschnig [Tue, 5 Mar 2013 00:45:48 +0000 (01:45 +0100)]
Support sudden and automatic termination.
Joe Wreschnig [Mon, 4 Mar 2013 22:00:21 +0000 (23:00 +0100)]
Add some categories to better handle menus with represented objects, then use them for simpler menu handling.
Joe Wreschnig [Mon, 4 Mar 2013 22:00:02 +0000 (23:00 +0100)]
Tweak toolbar icons.
Joe Wreschnig [Mon, 4 Mar 2013 15:46:54 +0000 (16:46 +0100)]
Remove mappingsChanged with a notification. MappingsController no longer needs to know about the app delegate.
Joe Wreschnig [Mon, 4 Mar 2013 15:17:59 +0000 (16:17 +0100)]
Turn popover activation button 'on' when the popover is up.
Joe Wreschnig [Mon, 4 Mar 2013 15:01:38 +0000 (16:01 +0100)]
Give accurate names to most of the items in the nib. Tweak button appearance on the popover to resemble e.g. System Preferences lists with add/remove.
Joe Wreschnig [Mon, 4 Mar 2013 14:13:34 +0000 (15:13 +0100)]
Fix old method of unsetting field.
Joe Wreschnig [Mon, 4 Mar 2013 13:54:09 +0000 (14:54 +0100)]
Fix old check for unset field.
Joe Wreschnig [Mon, 4 Mar 2013 13:47:56 +0000 (14:47 +0100)]
Use represented objects rather than index hackery. Remove the mapping name from the output title, since it's always on-screen now.
Joe Wreschnig [Mon, 4 Mar 2013 13:43:51 +0000 (14:43 +0100)]
Fix mismatched serialization code.
Joe Wreschnig [Mon, 4 Mar 2013 13:06:53 +0000 (14:06 +0100)]
Signal mappings menu entry by a tag, not a check for a separator. Remove dead code.
Joe Wreschnig [Mon, 4 Mar 2013 12:52:00 +0000 (13:52 +0100)]
Rework toolbar UI. No more drawer, use a popover. No more weird toggle button, use a segmented control. Swap sides.
Joe Wreschnig [Sun, 3 Mar 2013 22:49:27 +0000 (23:49 +0100)]
Rename the application delegate, and hopefully catch the last vestiges of the old names.
Joe Wreschnig [Sun, 3 Mar 2013 21:37:54 +0000 (22:37 +0100)]
Big rename part 3: 'target' to 'output'.
Joe Wreschnig [Sun, 3 Mar 2013 21:08:41 +0000 (22:08 +0100)]
Big rename part 2: 'config' etc. to 'mapping.
Joe Wreschnig [Sun, 3 Mar 2013 20:42:59 +0000 (21:42 +0100)]
Big rename part 1: 'action' to 'input'.
Joe Wreschnig [Sun, 3 Mar 2013 19:56:04 +0000 (20:56 +0100)]
Publish activated/deactivated as notifications.
Joe Wreschnig [Sun, 3 Mar 2013 14:24:36 +0000 (15:24 +0100)]
Rewrite KeyInputTextView into NJKeyInputField. New class communicates using a proper delegate, standard property names, fixes more bugs in UI edge cases, allow Alt+Escape to clear the field, support modified virtual keys usefully.
Joe Wreschnig [Sun, 3 Mar 2013 12:57:46 +0000 (13:57 +0100)]
Implement equality checks for Targets. Don't consider equal targets as conflicting when importing.
Joe Wreschnig [Sat, 2 Mar 2013 20:53:01 +0000 (21:53 +0100)]
Post active mapping changes through notification center rather than to the application delegate directly. Don't listen for application switch notifications unless the mappings are active.
Joe Wreschnig [Sat, 2 Mar 2013 12:33:11 +0000 (13:33 +0100)]
Formal protocol for the interface shared between Joysticks and JSActions, use new safer types elsewhere.
Joe Wreschnig [Sat, 2 Mar 2013 11:24:57 +0000 (12:24 +0100)]
Harden importing.
Joe Wreschnig [Sat, 2 Mar 2013 02:51:36 +0000 (03:51 +0100)]
Nicer function to present the error.