This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Vogtinator
Pages: 1 ... 9 10 [11] 12 13 ... 83
151
« on: November 22, 2014, 06:17:57 pm »
I've been touching the keymap because I wasn't able to use the calculator at all. I could add the remaining keys to the map if you want me to. What do you suggest for the special keys? F1-F12? Alt? Ctrl? ...
That's the problem. What about "easy", "normal" keys like (? You can't assign it to "(" on the keyboard as it's Shift-8. (or Shift-9 for qwerty) and that means shift is active. Maybe distinguish between left and right shift? It would be very nice to detect mouse over the Lcd widget and send it to the emulator...
That's working already (LMB: touch, RMB: click), if you try pyWrite or crafti. Only the OS doesn't like it.
152
« on: November 22, 2014, 06:06:16 pm »
Why "another"? Serial is only accessible via the dock connector.
153
« on: November 22, 2014, 05:00:19 pm »
Hm, what about Qml/Qt Quick? It seems to be perfect for this, it supports SVG natively and makes design relatively easy. Ah, maybe. Cool then. I have never used it, so I didn't think about it. As long as it still works on all platform without adding much size overhead (?)
Two seperate modules actually, one of them is WebKit's JavaScriptCore IIRC...
154
« on: November 22, 2014, 04:53:08 pm »
Anyway, back to the code. How should the keymap be implemented? I thought about a direct mapping of characters, so to type a ( you just have to type (. For {, { and so on. Yeah, I think it would be a good idea. But we obviously still need buttons, too (for nspire-specific keys...) When the core stuff are done, a skin-based thing (well, at least, a keyboard that looks like the real one) would be good too, like what KarmTI does (or to a lesser extent, nRemote). I looked at Qt and frame/headless windows (such that custom window shape/frames could be done for the skin-based interface, if that's the plan) and it looked relatively easy (3-4 lines of code in mainwindow actually, for making the window "custom", with transparent background etc.). I think I have the details bookmarked somewhere...
Hm, what about Qml/Qt Quick? It seems to be perfect for this, it supports SVG natively and makes design relatively easy. The downside to this is that the shift key can't be controlled anymore. What do you think about that? Hmm. Is there any specific application of this where it could be an annoyance ? But once again, the mapping could be temp. disabled with an option, too...
Yeah, only double the work... Oh, so that's what the automatic subscription was about.... Did you get a message? If antonio hadn't posted here, I wouldn't know about the accident..
Got this:
So they notify you about repo creation, but not deletion, wtf.
155
« on: November 22, 2014, 03:03:59 pm »
Let's forget about that (and your doublepost). When I read your message I just laughed really badly xD It's not really bad to delete an upstream repository as someone will have a working copy with git history and thus every branch can be restored. But still, it's not a bad idea to check everything twice before deleting... Anyway, back to the code. How should the keymap be implemented? I thought about a direct mapping of characters, so to type a ( you just have to type (. For {, { and so on. The downside to this is that the shift key can't be controlled anymore. What do you think about that? Oh, so that's what the automatic subscription was about.... Did you get a message? If antonio hadn't posted here, I wouldn't know about the accident..
156
« on: November 22, 2014, 11:08:04 am »
If the usb gadget api functions were known it'd be possible, but for now there are only the usbd_ functions, which don't support gadget mode, do they? Otherwise it would be easy to implement the MTP protocol for easier file transfer as well.
157
« on: November 22, 2014, 09:55:42 am »
So, as there is gdbstub in nspire_emu and OCD. I thought about combinging these two and support native GDB debugging on calc either over serial or USB with NavNet and libti*/libnspire Would there be interest in this? If yes, USB or serial? Both have some downsides.
158
« on: November 22, 2014, 07:41:37 am »
Hi, nice to see you here again I'd definitely order one. Is is possible to connect the rest of the dock connector pins to some 0.1 inch headers? That could be very useful for some experiments with SDIO, SPI and such. Some easily accessable traces to solder on would be nice, too.
159
« on: November 21, 2014, 01:50:48 pm »
May I ask what for, exactly? If you need to touch a certain place for instance, you'll never get it right first try. The only application for absolute values I can imagine for now is a direct mapping of the touched position to a position on another plane, such as the screen and for those a touchpad is just the wrong kind of input device. Especially the lower bits in the X and Y registers are noisy as the OS switches filtering off (via I²C when booting).
160
« on: November 21, 2014, 01:09:26 pm »
The touchpad code for nKaruga is in Player.cpp IIRC. Also, the touchpad needs "initialization", which is done at the start of main. Basically, you "initialize" the touchpad by reading HW constants from it (you'll need them). You only do that once, since they are constants. When that's done, read the touchpad at any time with touchpad_scan. The touchpad doesn't need initialization and the constants are actually fixed and the same everywhere, so you can completely skip that. (Anyway, only the relative coordinates are interesting, as touchpads are generally not used to get absolute coordinates, the way TI uses the touchpad to replace arrow keys is really annoying)
161
« on: November 21, 2014, 09:07:05 am »
162
« on: November 20, 2014, 05:12:53 pm »
nspire-tools in in ndless-sdk/bin
163
« on: November 20, 2014, 06:34:38 am »
Then your PATH isn't set up correctly.
164
« on: November 20, 2014, 06:16:30 am »
Already try and it didn't open any thing. Then please upload the generated file. Can you write a helloworld prog in c++ and mention the steps from terminal or using an exist CPP file I am very sorry about asking alot echo "int main() { return 0; }" > main.cpp nspire-tools new test make
Done. The program does nothing, though.
165
« on: November 20, 2014, 05:04:12 am »
in the sample example the tns file obtained but not working on the emulator Try the .prg.tns file. When I try to make a prog. and write : nspire-tools new <main> "main is my program name that error appear Leave the "<>" out.
Pages: 1 ... 9 10 [11] 12 13 ... 83
|