1SUMMARY="Spatially map your display to navigate windows with the keyboard"
2DESCRIPTION="BamKeys lets you break your display up into \
3a grid of zones. Each zone is assigned a keyboard combination.
4Whenever you press that keyboard combination, BamKeys will focus \
5the front-most window that intersects with that zone, regardless \
6of the program it belongs to! Pressing the same zone's keyboard \
7combination repeatedly will focus widows further back. If you have \
8three windows that intersect a zone, pressing that zones hotkey three \
9times will cycle through all those windows.
10
11Configuring -
12Open up the BamKeys Preferences, you'll see a little display with a 3x3 \
13grid, a check box, two pop up menus, and a bunch of key cap looking \
14things.
15The default key mappings for this 3x3 grid are: the left command (or alt) \
16key + numeric keypad 1 through 9 (with NumLock ON). These settings can be \
17changed by:
18
19��� Using the mouse:
201. Click the zone on the little display you want to change. It will darken.
212. Press (and release) the key combination you want to use.
223. Click the zone again to de-select it.
23
24��� Using the keyboard:
251. Tab until the screen is selected.
262. Press the space-bar. A zone will darken in the grid.
273. You can use the arrow keys to change the selected zone.
284. Pressing (and releasing) a keyboard shortcut will set the hotkey for \
29that zone.
305. Pressing space bar will unselect all zones."
31HOMEPAGE="https://github.com/bvarner/bamkeys"
32COPYRIGHT="2016 Bryan Varner"
33LICENSE="MIT"
34REVISION="1"
35srcGitRev="0f2d06d4737fd4c244c0f7f70bef3b51fa93f9ba"
36SOURCE_URI="https://github.com/bvarner/bamkeys/archive/$srcGitRev.tar.gz"
37CHECKSUM_SHA256="2e29d6212e5b5afc35787f42c06ce16aa94496584ddb64138ea334014c3731d1"
38SOURCE_DIR="bamkeys-$srcGitRev"
39
40ARCHITECTURES="!all x86_gcc2"
41
42PROVIDES="
43	bamkeys = $portVersion
44	app:BamKeys = $portVersion
45	add_on:BamKeys_Filter = $portVersion
46	"
47REQUIRES="
48	haiku
49	"
50
51BUILD_REQUIRES="
52	haiku_devel
53	"
54
55BUILD_PREREQUIRES="
56	makefile_engine
57	cmd:g++
58	cmd:make
59	"
60
61BUILD()
62{
63	make OBJ_DIR=objects
64}
65
66INSTALL()
67{
68	mkdir -p $preferencesDir
69	mkdir -p $addOnsDir/input_server/filters
70	cp input_filter/objects/BamKeys_Filter $addOnsDir/input_server/filters/
71	cp preflet/objects/BamKeys $preferencesDir/BamKeys
72	addPreferencesDeskbarSymlink $preferencesDir/BamKeys
73}
74