1
00:00:00,320 --> 00:00:07,399
why on Earth would anyone want a second keyboard lonus asked me when I tried to

2
00:00:05,759 --> 00:00:12,080
show him this project I've been working on for quite a while well let me tell

3
00:00:09,599 --> 00:00:17,080
you it's not for everyone but if you are a productivity freak like me the concept

4
00:00:14,759 --> 00:00:22,560
might really appeal to you basically this entire keyboard has been converted

5
00:00:19,240 --> 00:00:25,830
into a set of 87 fully programmable

6
00:00:22,560 --> 00:00:32,480
macro keys

7
00:00:32,480 --> 00:00:40,520
Intel brings ddr4 to the mainstream with their new core i76700 K and core i56600k

8
00:00:38,680 --> 00:00:45,960
processors check out the link in the video description to learn more so to

9
00:00:43,039 --> 00:00:50,719
give you some background on why I need a second keyboard I'm the video editor for

10
00:00:48,760 --> 00:00:55,160
most of the videos that go up on this channel that's a lot of videos and the

11
00:00:52,920 --> 00:01:00,160
more quickly and efficiently I can edit them the better now fast and efficient

12
00:00:57,960 --> 00:01:04,920
video editing relies heavily upon keyboard shortcuts so much so that

13
00:01:02,600 --> 00:01:10,960
inside Premiere I assigned functions to all the numbers letters and symbols all

14
00:01:08,080 --> 00:01:15,960
the function keys the entire numpad and most of the reasonable combinations of

15
00:01:13,080 --> 00:01:21,159
control shift and ALT that's a lot of shortcuts and yes I do use all of those

16
00:01:18,640 --> 00:01:25,880
on a daily basis it's easy to remember single key shortcuts but the more keys

17
00:01:23,520 --> 00:01:30,040
you need to press in a row the more difficult it is to not only remember the

18
00:01:27,720 --> 00:01:35,200
key combination but also to physically press those keys that's what macro keys

19
00:01:32,799 --> 00:01:39,439
are good for if you don't know a macro key will basically launch a

20
00:01:36,840 --> 00:01:43,119
pre-programmed series of keystrokes and or Mouse clicks which you would

21
00:01:41,079 --> 00:01:48,040
otherwise have to press manually every time for example let's say I'm editing a

22
00:01:45,880 --> 00:01:52,880
video in Premiere and I want to reverse a clip on the timeline to do this I

23
00:01:50,439 --> 00:01:57,640
could click on the clip Mouse over to the clip menu select speed duration

24
00:01:55,640 --> 00:02:03,399
Mouse over to the panel that appears click reverse and then Mouse over to

25
00:02:00,280 --> 00:02:06,119
enter and click on that this takes a few

26
00:02:03,399 --> 00:02:11,120
seconds to do alternatively I could just press one single macro button which

27
00:02:08,840 --> 00:02:16,200
automatically executes the keystrokes controlr tab tab space enter which

28
00:02:13,760 --> 00:02:21,640
accomplishes exactly the same thing but in a fraction of a second that's the

29
00:02:18,480 --> 00:02:23,879
power and usefulness of a keyboard macro

30
00:02:21,640 --> 00:02:28,920
Gamers will use macros in Games like World of Warcraft DOTA Starcraft League

31
00:02:26,360 --> 00:02:33,519
of Legends and so on but pretty much any game can be made easier with macros and

32
00:02:31,519 --> 00:02:38,640
keyboard macros are also really useful for certain jobs like video editing

33
00:02:35,959 --> 00:02:43,519
animation graphic design programming Music Creation and I don't know

34
00:02:41,440 --> 00:02:47,080
accounting maybe I don't really know what accountants do all day but pretty

35
00:02:45,480 --> 00:02:52,080
much anything that involves heavy computer use and repetitive tasks

36
00:02:49,680 --> 00:02:57,879
usually macros are just a series of blind keystrokes and mouse clicks but

37
00:02:54,680 --> 00:03:01,599
you can make even more powerful macros

38
00:02:57,879 --> 00:03:03,519
using Auto hotkey auto hotkey is a free

39
00:03:01,599 --> 00:03:08,640
brilliant little program that you can use to completely automate repetitive

40
00:03:05,640 --> 00:03:11,159
tasks remap Keys intelligently simulate

41
00:03:08,640 --> 00:03:15,799
clicks and keystrokes and do a lot more stuff that I don't even understand I've

42
00:03:13,360 --> 00:03:20,200
used auto hotkey to program a ton of useful features for Premiere Pro that

43
00:03:18,360 --> 00:03:24,680
don't even exist in the application itself like recalling saved Transitions

44
00:03:22,760 --> 00:03:30,080
and applying effects directly onto selected Clips but my problem now is

45
00:03:27,519 --> 00:03:34,080
that I use so many macros and so so many keyboard shortcuts that I have now

46
00:03:31,879 --> 00:03:40,000
physically run out of keys on the keyboard and what can you do then well

47
00:03:37,239 --> 00:03:45,480
we have a few of these cool little Tech Keys keyboards lying around the office

48
00:03:42,640 --> 00:03:49,840
so I experimented with those we also have a razor orb weaver which is

49
00:03:47,879 --> 00:03:55,400
actually pretty awesome and it's been designed for this exact purpose all of

50
00:03:52,799 --> 00:03:59,920
its keys can be remapped to any key or key combination you desire now since

51
00:03:57,799 --> 00:04:03,640
you're still restricted to standard keyboard Keys what I like to do is

52
00:04:02,120 --> 00:04:10,120
program the keys on these extra keyboards to execute very obscure key

53
00:04:06,480 --> 00:04:12,560
combinations like Control Alt F1 and

54
00:04:10,120 --> 00:04:17,400
then I program Auto hotkey to listen for these key combinations and then execute

55
00:04:15,000 --> 00:04:22,079
whatever function I desire the trouble is if you do too much of this it's tough

56
00:04:20,079 --> 00:04:26,639
to remember what combinations you've already used and what combinations all

57
00:04:24,520 --> 00:04:31,160
your various different applications might already be using but you know what

58
00:04:28,919 --> 00:04:37,080
the tech keys keyboards and the orb weaver still don't have enough keys for

59
00:04:34,039 --> 00:04:39,400
all the extra functions that I want and

60
00:04:37,080 --> 00:04:44,639
these keyboards are surprisingly expensive and that's when it hit me why

61
00:04:42,160 --> 00:04:49,560
can't I just hook up a second keyboard to my computer well it turns out that

62
00:04:47,400 --> 00:04:54,800
Windows will treat every keyboard that you plug in as one keyboard you can plug

63
00:04:52,960 --> 00:05:00,720
in all the keyboards you like but your computer cannot tell the difference

64
00:04:57,440 --> 00:05:02,720
between them bummer fortun Ely one of my

65
00:05:00,720 --> 00:05:08,840
Twitter followers linked me to this video by Tom Scott who successfully got

66
00:05:06,160 --> 00:05:14,360
14 keyboards to work as their own separate inputs he used a program called

67
00:05:11,600 --> 00:05:18,560
Lua macros which was actually developed for flight simulator enthusiasts who

68
00:05:16,840 --> 00:05:24,840
want to have a lot of switches and buttons for their virtual cockpits great

69
00:05:21,680 --> 00:05:28,120
so it is possible now all I needed to do

70
00:05:24,840 --> 00:05:30,280
was figure out how to code in Lua and

71
00:05:28,120 --> 00:05:34,800
find a way to get Lua Ma R to communicate with auto hotkey which is

72
00:05:32,360 --> 00:05:39,840
where all of my functions already are Tom Scott had done this but he didn't

73
00:05:37,240 --> 00:05:46,120
provide any of the necessary details like you know sample code then it

74
00:05:42,919 --> 00:05:48,960
presses the f24 key that's after quite a

75
00:05:46,120 --> 00:05:54,800
bit of frustration I finally figured out how to do it my second keyboard now

76
00:05:51,520 --> 00:05:57,639
works as its own unique input and every

77
00:05:54,800 --> 00:06:03,160
single one of these Keys acts as a macro button which will launch its own Unique

78
00:06:00,360 --> 00:06:08,440
Auto hotkey script so here's how you do it first download Lua macros and auto

79
00:06:06,199 --> 00:06:14,840
hotkey plug in both of the keyboards you want to use run Lua macros and open up

80
00:06:11,520 --> 00:06:17,199
quick start. Lua then click on the play

81
00:06:14,840 --> 00:06:22,840
button you'll get a prompt asking you to identify device macros which will become

82
00:06:20,160 --> 00:06:27,360
the name of your second keyboard all you need to do is press any key on that

83
00:06:25,039 --> 00:06:32,759
second keyboard luam macros will now recognize it as such and those key book

84
00:06:29,800 --> 00:06:36,680
will now be intercepted by Lu macros and therefore blocked from normal typing

85
00:06:34,960 --> 00:06:42,000
once you get that working you can write your own code or download and use my Lua

86
00:06:39,759 --> 00:06:47,520
code which basically just writes a small string to a file on disk and then

87
00:06:44,639 --> 00:06:51,560
presses the f24 key download my auto hotkey script or write your own and

88
00:06:49,440 --> 00:06:57,639
double click on it to get it running an icon for that script will now appear on

89
00:06:53,680 --> 00:07:00,160
the taskbar now anytime the f24 key is

90
00:06:57,639 --> 00:07:05,000
virtually pressed by luam macros this Auto hotkey script will read the

91
00:07:02,479 --> 00:07:11,000
string in that file and execute the correct Associated function Tada I knew

92
00:07:09,160 --> 00:07:16,400
it would be difficult to remember which key did what so I created a bunch of

93
00:07:13,560 --> 00:07:20,879
keycap images in Photoshop printed them cut them out and taped them onto the

94
00:07:18,520 --> 00:07:24,680
existing keys if you do this keep in mind that your key caps will not

95
00:07:22,400 --> 00:07:28,520
necessarily be compatible with every slot on the keyboard so you may have to

96
00:07:26,639 --> 00:07:33,400
be careful to maintain the underlying quty layout although for me I think it

97
00:07:30,599 --> 00:07:38,560
was just the F and J Keys the keyboard that I used for this project was the

98
00:07:35,000 --> 00:07:41,120
Logitech k120 and it's nothing special

99
00:07:38,560 --> 00:07:46,280
at all any cheap or old keyboard will work perfectly when using the second

100
00:07:43,599 --> 00:07:50,879
keyboard it does take about 2 seconds to look down find the key you want move

101
00:07:48,599 --> 00:07:54,639
your hand over to that key press it and then move your hand back to the primary

102
00:07:52,680 --> 00:07:59,039
keyboard so it's best to use the secondary keyboard for secondary

103
00:07:56,720 --> 00:08:03,960
functions that you don't need all that often if you want to try building and

104
00:08:01,400 --> 00:08:09,000
programming a second keyboard I will be providing all the necessary code in the

105
00:08:06,680 --> 00:08:15,039
video description you're welcome and before you say it I know that my code is

106
00:08:11,599 --> 00:08:18,039
sloppy and suboptimal I know but guess

107
00:08:15,039 --> 00:08:20,479
what it still works so if any of you

108
00:08:18,039 --> 00:08:24,960
real programmers out there want to complain about my messy code I sure

109
00:08:22,919 --> 00:08:29,800
would appreciate it if you could provide a functional sample of some code that

110
00:08:27,360 --> 00:08:34,000
will work even better a great place to do this will be in the Linus Tech tips

111
00:08:31,800 --> 00:08:37,519
discussion thread that is associated with this video also linked below

112
00:08:35,959 --> 00:08:42,399
there's still a lot to figure out like using modifier keys and double tapping

113
00:08:39,919 --> 00:08:48,320
to launch a different function in fact Lua macros itself is just a side project

114
00:08:45,640 --> 00:08:53,800
of a single man with very little free time it's not even out of beta and it's

115
00:08:51,120 --> 00:08:58,880
still got a lot of bugs the good news is the software is open source so if you

116
00:08:56,600 --> 00:09:02,279
can help to make Lu macros better I really suggest suggest that you do I

117
00:09:00,920 --> 00:09:08,200
think it would be great if we could use the power of our community to improve

118
00:09:04,800 --> 00:09:10,600
useful Niche software like luam macros

119
00:09:08,200 --> 00:09:14,120
personally I'm very satisfied with my secondary keyboard and I'm really

120
00:09:12,200 --> 00:09:20,560
looking forward to seeing what you guys come up with tunnel bear is the easyto

121
00:09:17,240 --> 00:09:22,680
usee VPN app for mobile and desktop it

122
00:09:20,560 --> 00:09:27,320
allows you to tunnel to 16 different countries and browse the internet and

123
00:09:24,560 --> 00:09:32,120
use online services as if you're in one of those other countries they have apps

124
00:09:29,399 --> 00:09:35,880
for iOS Android PC and mac and they also have a Chrome extension when you pick a

125
00:09:34,240 --> 00:09:40,440
country and turn tunnel bear on two things will happen your connection gets

126
00:09:37,680 --> 00:09:45,200
encrypted with AES 256 bit encryption the strongest available and your public

127
00:09:43,000 --> 00:09:49,040
IP address gets switched so you can show up as if you're in a different country

128
00:09:47,399 --> 00:09:54,160
with tunnel bear there's no need to mess around with Port configurations DNS or

129
00:09:51,680 --> 00:09:58,399
router settings or all that nonsense it just handles all of that by itself you

130
00:09:56,640 --> 00:10:03,200
don't have to worry about it they also give you 500 gabt of data for free so

131
00:10:01,279 --> 00:10:07,600
you can try it out no credit card required and if you want to upgrade to

132
00:10:05,120 --> 00:10:11,880
unlimited data you can save 10% by going to Tunnel bear.com

133
00:10:09,560 --> 00:10:18,160
LT thanks for watching guys give the video a like or a dislike get subscribed

134
00:10:14,839 --> 00:10:20,279
join the Forum and talk about Lua macros

135
00:10:18,160 --> 00:10:23,440
or whatever uh you can support us by changing your Amazon bookmarks to one

136
00:10:21,880 --> 00:10:26,600
with our affiliate code so we get a small Kickback whenever you buy

137
00:10:24,959 --> 00:10:30,560
something and you should check out another one of my videos up here or

138
00:10:28,560 --> 00:10:35,279
wherever where I talk about the fly clly and how incredibly disappointing it was

139
00:10:33,320 --> 00:10:42,559
no the smart pet I I keep forgetting what it was called it's terrible though
