This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua | |
do | |
POINT = {} | |
POINT.new = function(pnt, x, y) | |
local pt = {} | |
function pt.display(pnt, comment) | |
print(comment) | |
print(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% A Lua Book | |
% Many Great guys | |
yadaydayda | |
# Installing Lua | |
Pretty easy | |
# Rocketing to the Moon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 14134e4fad0d549b8cdda34d411174c084076dc5 Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Wed, 8 Jun 2011 23:49:34 -0300 | |
Subject: dinput: EnumDevicesBySemantics enumerating system keyboard and mouse | |
--- | |
dlls/dinput/dinput_main.c | 98 +++++++++++++++++++++++++++++++++++++++++--- | |
1 files changed, 91 insertions(+), 7 deletions(-) | |
diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 92021ad4b2c3afd056ff8c4ecca9c18dca853189 Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Thu, 21 Jul 2011 16:15:34 -0300 | |
Subject: [PATCH] dinput: Using the same function for keyboard/mouse BuildActionMap | |
--- | |
dlls/dinput/device.c | 29 +++++++++++++++++++++++++++++ | |
dlls/dinput/device_private.h | 1 + | |
dlls/dinput/keyboard.c | 26 +------------------------- | |
dlls/dinput/mouse.c | 26 ++------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 7d5e47af3bd3fe2d1cf42e6f01d1ce75ed7d3b7f Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Wed, 3 Aug 2011 22:23:20 -0300 | |
Subject: [PATCH 1/4] dinput: Added a username field to devices and a list of device ownerships to the dinput | |
--- | |
dlls/dinput/device_private.h | 4 ++++ | |
dlls/dinput/dinput_main.c | 16 ++++++++++++++++ | |
dlls/dinput/dinput_private.h | 7 +++++++ | |
dlls/dinput/joystick_linux.c | 2 ++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 38582e4da1cce9d750f0d7b30e8b320bafd7e07e Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Thu, 21 Jul 2011 16:15:34 -0300 | |
Subject: dinput: Common implementation of BuildActionMap for keyboard and mouse | |
--- | |
dlls/dinput/device.c | 45 ++++++++++++++++++++++++++++++++++++++++++ | |
dlls/dinput/device_private.h | 2 + | |
dlls/dinput/keyboard.c | 28 +------------------------- | |
dlls/dinput/mouse.c | 28 +------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From add0b3129623f3deb3cefd9d46d8950658fcb22c Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Thu, 28 Jul 2011 16:05:44 -0300 | |
Subject: dinput: Added ConfigureDevices A to W crosscall | |
I had to switch the position of the two implementations so that the A version could effectively call the W one. | |
--- | |
dlls/dinput/dinput_main.c | 64 +++++++++++++++++++++++++++++++++++---------- | |
1 files changed, 50 insertions(+), 14 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6933394d92b073d3701860073c7e448cccdd923f Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Wed, 10 Aug 2011 00:15:00 -0300 | |
Subject: dinput: SetActionMap saving simple configurations to an .ini file | |
Just the action mapping GUID, number of actions and the time the mapping was applied. | |
The helper function heap_printfW was copied from winemenubuilder.c | |
--- | |
dlls/dinput/device.c | 99 ++++++++++++++++++++++++++++++++++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ff9900e11c47341431bd8a9a574520e514686086 Mon Sep 17 00:00:00 2001 | |
From: Lucas Fialho Zawacki <[email protected]> | |
Date: Thu, 11 Aug 2011 21:41:50 -0300 | |
Subject: dinput: Refactor of EnumDevicesBySemantics and proper remaining devices count. | |
In addition to that, the devices are now realeased after the callback is over. | |
--- | |
dlls/dinput/dinput_main.c | 129 ++++++++++++++++++++++++++------------------ | |
dlls/dinput/keyboard.c | 6 ++ | |
dlls/dinput/mouse.c | 6 ++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ASCII byte, sends one ascii byte | |
*/ | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(13, INPUT); | |
} |
OlderNewer