Author Topic: Arm clock for Logitech G15 LCD Keyboard  (Read 6313 times)

Iota

  • Posts: 159
Arm clock for Logitech G15 LCD Keyboard
« on: May 29, 2010, 06:17:46 PM »
I was bored while waiting for my character application to run through, so I made this.  It's a simple Armageddon clock that shows the time of day. 
You need one of these tacky, light-up logitech LCD keyboards to run it.  The 1st button on the left under the LCD closes the application. 



Source code and binaries at https://sourceforge.net/projects/g15armclock/files/.

If you want to compile it, you need the Logitech LCD SDK, which I'm not sure they even host anymore.

I don't know a whole lot about Windows programming, but this was compiled in VS2005 in Windows 7, 32-bit.  It should probably run on older versions of windows. 

janeshephard

  • Posts: 4281
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #1 on: May 29, 2010, 06:25:42 PM »
It's a good thing there's 24 hours between character app acceptance and 2-6 weeks between special apps. People can be productive like this.
And there was some dwarf smoking spice, and I thought that was so scandalous because I'd only been playing in 'nak.


Iota

  • Posts: 159
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #2 on: May 29, 2010, 07:16:23 PM »
There's a minimum of 24 hours for each regular application now?  :(

brytta.leofa

  • Posts: 9480
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #3 on: May 29, 2010, 08:30:35 PM »
Iota rocks.  As usual.

There's a minimum of 24 hours for each regular application now?  :(

I recently had one approved in...an hour or so?
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.

Kankfly

  • Posts: 1229
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #4 on: May 30, 2010, 12:37:57 AM »
I think it's max 24 hours.
I ruin immershunz.

janeshephard

  • Posts: 4281
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #5 on: May 30, 2010, 12:42:44 AM »
I was being sarcastic :D
And there was some dwarf smoking spice, and I thought that was so scandalous because I'd only been playing in 'nak.


Iota

  • Posts: 159
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #6 on: June 01, 2010, 02:10:25 AM »
I made a GUI version you can run on your desktop.  You need the fltk development libraries installed to compile it yourself.

Using git, you can get the source code like this: git clone git://fltkarmclock.git.sourceforge.net/gitroot/fltkarmclock/fltkarmclock

Just type make to compile.
« Last Edit: June 01, 2010, 01:08:59 PM by Iota »

janeshephard

  • Posts: 4281
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #7 on: June 01, 2010, 01:30:18 PM »
I made a GUI version you can run on your desktop.  You need the fltk development libraries installed to compile it yourself.

Using git, you can get the source code like this: git clone git://fltkarmclock.git.sourceforge.net/gitroot/fltkarmclock/fltkarmclock

Just type make to compile.

One fix for you. On my mac your LIBS line in your makefiile broke things because it didn't link against the Cocao library.

Change it to this and it should work everywhere:


Code: [Select]
LIBS =`fltk-config --ldflags`
And there was some dwarf smoking spice, and I thought that was so scandalous because I'd only been playing in 'nak.


Iota

  • Posts: 159
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #8 on: June 01, 2010, 02:50:21 PM »
Fixed and committed.  Thanks!

Agent_137

  • Posts: 5532
    • a crapy clawn
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #9 on: June 01, 2010, 08:16:50 PM »
any chance of getting a windows binary file for the desktop with fltk binaries included?
« Last Edit: June 01, 2010, 09:21:24 PM by Agent_137 »

Iota

  • Posts: 159
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #10 on: June 03, 2010, 03:31:03 AM »
Quote
any chance of getting a windows binary file for the desktop with fltk binaries included?

I'm trying to figure out how to get MinGW to work.  The -mno-cygwin flag for cygwin g++ doesn't work anymore :(
« Last Edit: June 03, 2010, 03:36:29 AM by Iota »

Agent_137

  • Posts: 5532
    • a crapy clawn
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #11 on: June 03, 2010, 10:45:42 AM »
what? Don't you have vs2005? You used it to compile the g15 version. Couldn't you just use that?

I have vs2010 on a win7 machine. I could compile it for you, but I don't understand a lick of c++, and fltk looks a little raw for me. I'm used to working on existing code. But i'd be happy to take your guidance and get it fixed up.

I'd even sign on aim for that.

janeshephard

  • Posts: 4281
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #12 on: June 03, 2010, 12:19:45 PM »
real programmers use unix variants. so they're most used to cygwin/mingw on windows than visual c :)

edit: i'd make a build but i have no access to windows anymore.  i'm running mac os x everywhere.
And there was some dwarf smoking spice, and I thought that was so scandalous because I'd only been playing in 'nak.


Samira

  • Posts: 167
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #13 on: June 16, 2010, 01:14:03 AM »
Native windows binaries for the arm clock now up at https://sourceforge.net/projects/fltkarmclock/files/.  It's in the zip file along with the source code.

Sorry it took so long.  I managed to lock myself out of my old gdb account.



Samira

  • Posts: 167
Zalanthan Calendar app
« Reply #15 on: September 25, 2010, 12:37:45 AM »

I need to work out the month, day of the month, year, and age calculations still. [Edit: All RL dates shown are in your local time.]

You can clone the source code from git://zalcal.git.sourceforge.net/gitroot/zalcal/zalcal.  It is written in C++, and you'll need Qt4 to compile it.
« Last Edit: September 25, 2010, 12:40:38 AM by Samira »

hyzhenhok

  • Posts: 1663
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #16 on: September 25, 2010, 12:40:25 AM »
Are these easily adjustable for when the calendar shifts thanks to server downtime?

brytta.leofa

  • Posts: 9480
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #17 on: September 25, 2010, 12:41:02 AM »
Are these easily adjustable for when the calendar shifts thanks to server downtime?

I don't believe it does shift.
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.

Samira

  • Posts: 167
Zalanthan Calendar app
« Reply #18 on: September 25, 2010, 12:41:58 AM »
Are these easily adjustable for when the calendar shifts thanks to server downtime?

I don't believe the time shifts during server downtime.

Windows binaries available here: http://sourceforge.net/projects/zalcal/files/
« Last Edit: September 25, 2010, 01:52:45 AM by Samira »

Samira

  • Posts: 167
Zalanthan Calendar App
« Reply #19 on: September 26, 2010, 11:30:31 AM »


Fixed accuracy problems outside a certain date range and added month/year/age calculations. :3
Windows binaries here:https://sourceforge.net/projects/zalcal/files/

Edit:  Corrected a daylight savings time bug and a day 0 bug.  v0.3 is out.
« Last Edit: September 27, 2010, 02:26:47 AM by Samira »

jriley

  • Posts: 233
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #20 on: September 26, 2010, 04:09:04 PM »
Wow, I'm continuously impressed at the level of programming AWESOME that some of our players here have. 
He said, "I don't fly coach, never save the roach."

Samira

  • Posts: 167
Re: Arm clock
« Reply #21 on: January 23, 2011, 09:52:14 AM »


I decided to update this old program after learning a little about Direct2D and DirectWrite.  If you don't have transparency enabled on your desktop, it will default to ugly mode.

Source/binaries: https://sourceforge.net/projects/fltkarmclock/
Requires Windows Vista, Windows Server 2008, or Windows 7. (The old version still runs on older versions of Windows.)
« Last Edit: January 24, 2011, 07:00:28 AM by Samira »

Barsook

  • Posts: 7896
    • The Sense of Openness
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #22 on: January 23, 2011, 09:57:14 AM »
Got something for the Linux users?

Samira

  • Posts: 167
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #23 on: January 23, 2011, 02:38:28 PM »
Got something for the Linux users?

Yup.  You need the fltk development libraries to compile it, though (and git, and g++).

Code: [Select]
git clone git://fltkarmclock.git.sourceforge.net/gitroot/fltkarmclock/fltkarmclock
make
« Last Edit: January 23, 2011, 02:40:12 PM by Samira »

Barsook

  • Posts: 7896
    • The Sense of Openness
Re: Arm clock for Logitech G15 LCD Keyboard
« Reply #24 on: January 23, 2011, 06:16:56 PM »
Thanks!